Re: [PATCH 2/7] writeback: Move requeueing when I_SYNC set to writeback_sb_inodes()

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

 



On Tue, Mar 20, 2012 at 11:56:26PM +0100, Jan Kara wrote:
> When writeback_single_inode() is called on inode which has I_SYNC already
> set while doing WB_SYNC_NONE, inode is moved to b_more_io list. However
> this makes sense only if the caller is flusher thread. For other callers of
> writeback_single_inode() it doesn't really make sense and may be even wrong
> - flusher thread may be doing WB_SYNC_ALL writeback in parallel.
> 
> So we move requeueing from writeback_single_inode() to writeback_sb_inodes().
> 
> Signed-off-by: Jan Kara <jack@xxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>
--
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