summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-06-23 18:49:07 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-23 18:49:07 -0700
commit4d4f4cc4d8b2626252b76d09584faa0713e9fbeb (patch)
tree7fa43fc5027d8e67cb975a01759fcf7af7a1f8c5 /include/linux
parent36f9f2094996483001457fb02398d4b7eae170bd (diff)
[PATCH] jbd needs to wait for locked buffers
From: Chris Mason <mason@suse.com> jbd needs to wait for any io to complete on the buffer before changing the end_io function. Using set_buffer_locked means that it can change the end_io function while the page is in the middle of writeback, and the writeback bit on the page will never get cleared. Since we set the buffer dirty earlier on, if the page was previously dirty, pdflush or memory pressure might trigger a writepage call, which will race with jbd's set_buffer_locked. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions