Re: inode_dio_wait and hole-punch?

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

 



On Sun, May 13, 2012 at 02:26:40PM -0700, Hugh Dickins wrote:
> In looking through hole-punching implementations, I got the impression
> that perhaps ext4 and ocfs2 might need to inode_dio_wait() before they
> truncate pagecache.  And that might require ext4 to hold i_mutex there?

Anything freeing blocks should be protected by inode_dio_wait, and any
call to it needs i_mutex or equivalent protection against starting new
direct I/O.

--
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