diff options
author | Joern Engel <joern@logfs.org> | 2010-05-04 19:41:09 +0200 |
---|---|---|
committer | Joern Engel <joern@logfs.org> | 2010-05-04 19:41:09 +0200 |
commit | 05ebad852901cf9127a743df6ea10c0e8b1590c3 (patch) | |
tree | eb5e200d3ca4ae15bec2cbf3731055ff29e7f73c /fs/logfs/logfs.h | |
parent | 20503664b008e17976bff1fdbc693c77ebd6f6c9 (diff) |
logfs: commit reservations under space pressure
Ensures we only return -ENOSPC when there really is no space.
Signed-off-by: Joern Engel <joern@logfs.org>
Diffstat (limited to 'fs/logfs/logfs.h')
-rw-r--r-- | fs/logfs/logfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/logfs/logfs.h b/fs/logfs/logfs.h index 32bf55616e5..26a9458e6b1 100644 --- a/fs/logfs/logfs.h +++ b/fs/logfs/logfs.h @@ -394,6 +394,7 @@ struct logfs_super { int s_lock_count; mempool_t *s_block_pool; /* struct logfs_block pool */ mempool_t *s_shadow_pool; /* struct logfs_shadow pool */ + struct list_head s_writeback_list; /* writeback pages */ /* * Space accounting: * - s_used_bytes specifies space used to store valid data objects. |