diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-05-05 14:52:06 +0200 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-05-10 10:04:42 +0200 |
commit | 843382370ec614768ac13582405f93635cf3637c (patch) | |
tree | 6447e8318d2c2a22bebfd0c7e70f825fbdeeebdb /fs/nilfs2/ioctl.c | |
parent | nilfs2: fix circular locking dependency of writer mutex (diff) | |
download | linux-843382370ec614768ac13582405f93635cf3637c.tar.xz linux-843382370ec614768ac13582405f93635cf3637c.zip |
nilfs2: ensure to clear dirty state when deleting metadata file block
This would fix the following failure during GC:
nilfs_cpfile_delete_checkpoints: cannot delete block
NILFS: GC failed during preparation: cannot delete checkpoints: err=-2
The problem was caused by a break in state consistency between page
cache and btree; the above block was removed from the btree but the
page buffering the block was remaining in the page cache in dirty
state.
This resolves the inconsistency by ensuring to clear dirty state of
the page buffering the deleted block.
Reported-by: David Arendt <admin@prnet.org>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/ioctl.c')
0 files changed, 0 insertions, 0 deletions