summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-06-12 16:41:03 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2004-06-12 16:41:03 -0700
commit7f94e2a677d0630019883a132d60b55036ebc31c (patch)
treedef8383041f3f0c87d26358cac26cc49624108aa /kernel
parentaa1df6ca57369989eb4b860e3f182a7e07077069 (diff)
[PATCH] Update Documentation/filesystems/Locking
From: Anton Altaparmakov <aia21@cam.ac.uk> A filesystem's ->writepage() implementation nowadays must run either redirty_page_for_writepage() or the combination of set_page_writeback()/ end_page_writeback(). Failure to do so leaves the page itself marked clean but it is tagged as dirty in the radix tree (PAGECACHE_TAG_DIRTY). This incoherency can lead to all sorts of hard-to-debug problems in the filesystem like having dirty inodes at umount and losing written data. The patch updates Documentation/filesystems/Locking to reflect this requirement. Signed-off-by: Anton Altaparmakov <aia21@cantab.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions