Thread (4 messages) 4 messages, 3 authors, 2012-03-29

Re: [PATCH] xfs: fix buffer lookup race on allocation failure

From: Dave Chinner <david@fromorbit.com>
Date: 2012-03-29 21:04:54

On Thu, Mar 29, 2012 at 03:07:59PM -0400, Christoph Hellwig wrote:
I don't like this solution.  What speaks against building up the page
array after the first buffer lookup failed, but before linking the
buffer into the rbtree? That's the the inode cache and all the VFS
caches do.
That could be done, I think. I always wondered why it was done after
insert, but never knew the reason so I didn't change the logic. I'll
respin it and see what happens.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help