| To: | "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 4/7][TAKE5] support new modes in fallocate |
| From: | Timothy Shimmin <tes@xxxxxxx> |
| Date: | Wed, 04 Jul 2007 15:37:01 +1000 |
| Cc: | Christoph Hellwig <hch@xxxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, adilger@xxxxxxxxxxxxx, David Chinner <dgc@xxxxxxx>, suparna@xxxxxxxxxx, cmm@xxxxxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <20070703114650.GB14936@amitarora.in.ibm.com> |
| References: | <20070614193347.GN5181@schatzie.adilger.int> <20070625132810.GA1951@amitarora.in.ibm.com> <20070625134500.GE1951@amitarora.in.ibm.com> <20070625150320.GA8686@amitarora.in.ibm.com> <20070625214626.GJ5181@schatzie.adilger.int> <20070626103247.GA19870@amitarora.in.ibm.com> <20070630102111.GB23568@infradead.org> <20070630165246.GA5159@schatzie.adilger.int> <20070703100848.GA14936@amitarora.in.ibm.com> <20070703103107.GA29763@infradead.org> <20070703114650.GB14936@amitarora.in.ibm.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 2.0.0.4 (Macintosh/20070604) |
Amit K. Arora wrote:
FA_FL_NO_MTIME 0x10 /* keep same mtime (default change on size, data change) */ FA_FL_NO_CTIME 0x20 /* keep same ctime (default change on size, data change) */NACK to these aswell. If i_size changes c/mtime need updates, if the size doesn't chamge they don't. No need to add more flags for this. We use this capability in XFS at the moment. I think this is mainly for DMF (HSM) but is done via the xfs handle interface (xfs_open_by_handle) AFAICT. This sets up a set of invisible operations (xfs_invis_file_operations). xfs_file_ioctl_invis goes on to set IO_INVIS which goes on to set ATTR_DMI which is then tested in xfs_change_file_space() (which handles XFS_IOC_RESVSP & friends) for whether xfs_ichgtime(ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG) is called or not. --Tim |
| Previous by Date: | Award Program Batch Number EU75011., vanyolanda |
|---|---|
| Next by Date: | Online Easy Job !!!, Chong Hu Corporation |
| Previous by Thread: | Re: [PATCH 4/7][TAKE5] support new modes in fallocate, Amit K. Arora |
| Next by Thread: | Re: [PATCH 4/7][TAKE5] support new modes in fallocate, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |