Re: [PATCH RFC] kernel/locking, fs/direct-io: Introduce and use down_write_nolockdep()

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

 



On Sun, Oct 28, 2018 at 06:58:40PM +0100, Peter Zijlstra wrote:
> Also, from a quick look, this has been broken for donkeys years,
> right? That comment:
> 
> 	/* will be released by direct_io_worker */
> 
> has been there since 2009. Back then of course it was a mutex, and the
> curious thing is, mutexes have _never_ supported this release from
> another context thing.

direct_io_worker back then was just a helper called by
__blockdev_direct_IO in the same context.  But yes, this comment
is horribly out of date.



[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