Re: [LSF/MM/BPF TOPIC] Measuring limits and enhancing buffered IO

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

 



On Sun, Feb 25, 2024 at 05:32:14PM -0800, Linus Torvalds wrote:

> But to take a different example, ext2 just calls
> generic_file_write_iter() *without* taking the inode lock, and does
> locking one page at a time. As far as I know, nobody ever really
> complained.

Uh?  __generic_file_write_iter() doesn't take inode lock, but
generic_file_write_iter() does.  O_APPEND handling aside, there's
also file_remove_privs() in there and it does need that lock.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux