[PATCH] Fix race in ext3_getblk
From: Alex Tomas <bzzz@tmi.comex.ru> ext3_getblk() memsets a newly allocated buffer, but forgets to check whether a different thread brought it uptodate while we waited for the buffer lock. It's OK normally because we're serialised by the page lock. But lustre apparently is doing something different with getblk and hits this race. Plus I suspect it's racy with competing O_DIRECT writes.
Showing
Please register or sign in to comment