[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <20080208132657.GE3120@webber.adilger.int>
Date: Fri, 08 Feb 2008 08:26:57 -0500
From: Andreas Dilger <adilger@....com>
To: Takashi Sato <t-sato@...jp.nec.com>
Cc: Theodore Tso <tytso@....EDU>, linux-ext4@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC] ext3 freeze feature
On Feb 08, 2008 19:48 +0900, Takashi Sato wrote:
> OK I would like to implement the freeze feature on VFS
> as the filesystem independent ioctl so that it can be
> available on filesystems that have already had write_super_lockfs()
> and unlockfs().
> The usage for the freeze ioctl is the following.
> int ioctl(int fd, int FIFREEZE, long *timeval);
> fd:file descriptor of mountpoint
> FIFREEZE:request cord for freeze
> timeval:timeout period (second)
>
> And the unfreeze ioctl is the following.
> int ioctl(int fd, int FITHAW, NULL);
> fd:file descriptor of mountpoint
> FITHAW:Request cord for unfreeze
You may as well make the common ioctl the same as the XFS version,
both by number and parameters, so that applications which already
understand the XFS ioctl will work on other filesystems.
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists