[RFC PATCH 00/14] Per-sb tracking of dirty inodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hello,

  here is my attempt to implement per superblock tracking of dirty inodes.
I have two motivations for this:
  1) I've tried to get rid of overwriting of inode's dirty time stamp during
     writeback and filtering of dirty inodes by superblock makes this
     significantly harder. For similar reasons also improving scalability
     of inode dirty tracking is more complicated than it has to be.
  2) Filesystems like Tux3 (but to some extent also XFS) would like to
     influence order in which inodes are written back. Currently this isn't
     possible. Tracking dirty inodes per superblock makes it easy to later
     implement filesystem callback for writing back inodes and also possibly
     allow filesystems to implement their own dirty tracking if they desire.

  The patches pass xfstests run and also some sync livelock avoidance tests
I have with 4 filesystems on 2 disks so they should be reasonably sound.
Before I go and base more work on this I'd like to hear some feedback about
whether people find this sane and workable.

After this patch set it is trivial to provide a per-sb callback for writeback
(at level of writeback_inodes()). It is also fairly easy to allow filesystem to
completely override dirty tracking (only needs some restructuring of
mark_inode_dirty()). I can write these as a proof-of-concept patches for Tux3
guys once the general approach in this patch set is acked. Or if there are
some in-tree users (XFS?, btrfs?) I can include them in the patch set.

Any comments welcome!

								Honza 
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux