Re: sys_write() racy for multi-threaded append?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Hellwig <hch@...>, Michael K. Edwards <medwards.linux@...>, David Miller <davem@...>, <alan@...>, <7eggert@...>, <dada1@...>, <linux-kernel@...>
Date: Tuesday, March 13, 2007 - 7:40 pm

On 3/13/07, Christoph Hellwig <hch@infradead.org> wrote:

Thank you Christoph for that informative response to my comments.  I
take it that you consider read_write.c to be code of the highest
quality and maintainability.  If you have something specific in mind
when you write "utter bullshit" and "half-knowledge", I'd love to hear
it.

Now, for those who still care to respond as if improving the kernel
were a goal that you and I can share, a question:  When
generic_file_llseek needs the inode in order to retrieve the current
file size, it goes through f_mapping (the pagecache entry?) rather
than through f_path.dentry (the dentry cache?).  All other inode
retrievals in read_write.c go through f_path.dentry.  Why?  Or is this
a question that can only be asked on linux-fsdevel?

Cheers,
- Michael
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: sys_write() racy for multi-threaded append?, Bodo Eggert, (Mon Mar 12, 3:53 am)
Re: sys_write() racy for multi-threaded append?, Michael K. Edwards, (Mon Mar 12, 12:26 pm)
Re: sys_write() racy for multi-threaded append?, Bodo Eggert, (Mon Mar 12, 2:48 pm)
Re: sys_write() racy for multi-threaded append?, Michael K. Edwards, (Mon Mar 12, 8:46 pm)
Re: sys_write() racy for multi-threaded append?, Alan Cox, (Mon Mar 12, 10:24 pm)
Re: sys_write() racy for multi-threaded append?, David M. Lloyd, (Tue Mar 13, 10:00 am)
Re: sys_write() racy for multi-threaded append?, Michael K. Edwards, (Tue Mar 13, 3:25 am)
Re: sys_write() racy for multi-threaded append?, Alan Cox, (Tue Mar 13, 9:15 am)
Re: sys_write() racy for multi-threaded append?, Michael K. Edwards, (Wed Mar 14, 4:09 pm)
Re: sys_write() racy for multi-threaded append?, Frank Ch. Eigler, (Fri Mar 16, 12:43 pm)
Re: sys_write() racy for multi-threaded append?, Alan Cox, (Fri Mar 16, 1:25 pm)
Re: sys_write() racy for multi-threaded append?, David Miller, (Tue Mar 13, 3:42 am)
Re: sys_write() racy for multi-threaded append?, Michael K. Edwards, (Tue Mar 13, 12:24 pm)
Re: sys_write() racy for multi-threaded append?, Michael K. Edwards, (Tue Mar 13, 1:59 pm)
Re: sys_write() racy for multi-threaded append?, Christoph Hellwig, (Tue Mar 13, 3:09 pm)
Re: sys_write() racy for multi-threaded append?, Michael K. Edwards, (Tue Mar 13, 7:40 pm)
Re: sys_write() racy for multi-threaded append?, Michael K. Edwards, (Tue Mar 13, 8:09 pm)