| To: | Theodore Ts'o <tytso@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH-v4 1/7] vfs: split update_time() into update_time() and write_time() |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Wed, 26 Nov 2014 11:23:28 -0800 |
| Cc: | Linux Filesystem Development List <linux-fsdevel@xxxxxxxxxxxxxxx>, Ext4 Developers List <linux-ext4@xxxxxxxxxxxxxxx>, Linux btrfs Developers List <linux-btrfs@xxxxxxxxxxxxxxx>, XFS Developers <xfs@xxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1416997437-26092-2-git-send-email-tytso@xxxxxxx> |
| References: | <1416997437-26092-1-git-send-email-tytso@xxxxxxx> <1416997437-26092-2-git-send-email-tytso@xxxxxxx> |
| User-agent: | Mutt/1.5.23 (2014-03-12) |
As mentioned last round please move the addition of the is_readonly operation to the first thing in the series, so that the ordering makes more sense. Second I think this patch is incorrect for XFS - XFS uses ->update_time to set the time stampst in the dinode. These two need to be coherent as we can write out a dirty inode any time, so it needs to have the timestamp uptodate. Third update_time now calls mark_inode_dirty unconditionally, while previously it wasn't called when ->update_time was set. At least for XFS that's a major change in behavior as XFS never used VFS dirty tracking for metadata updates. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 3/5] xfs: merge xfs_ag.h into xfs_format.h, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH-v4 6/7] ext4: add support for a lazytime mount option, Christoph Hellwig |
| Previous by Thread: | [PATCH-v4 1/7] vfs: split update_time() into update_time() and write_time(), Theodore Ts'o |
| Next by Thread: | Re: [PATCH-v4 1/7] vfs: split update_time() into update_time() and write_time(), Jan Kara |
| Indexes: | [Date] [Thread] [Top] [All Lists] |