Re: dio_get_page() lockdep complaints

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

 



On Fri, 09 Nov 2007 09:48:22 -0800
Zach Brown <[email protected]> wrote:

> 
> >> So reiser and NFS need to be fixed.  No?
> > 
> > Actually, it is rather mmap() needs to be fixed.
> 
> Sure, I'm willing to have that demonstrated.  My point was that DIO
> getting the mmap_sem inside i_mutex is currently correct.
> 
> reiserfs, though, seems to be out on a more precarious limb ;).

reiserfs is doing tail packing during the file_release call, which has
lots of advantages for removing complexity in file_write.

Without getting into a huge patch, the best fix would just be switching
to try lock.  If the tail doesn't get packed, the world doesn't end.

-chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux