summaryrefslogtreecommitdiffstats
path: root/fs/logfs/logfs.h
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2010-05-04 19:41:09 +0200
committerJoern Engel <joern@logfs.org>2010-05-04 19:41:09 +0200
commit05ebad852901cf9127a743df6ea10c0e8b1590c3 (patch)
treeeb5e200d3ca4ae15bec2cbf3731055ff29e7f73c /fs/logfs/logfs.h
parent20503664b008e17976bff1fdbc693c77ebd6f6c9 (diff)
downloadlinux-05ebad852901cf9127a743df6ea10c0e8b1590c3.tar.gz
linux-05ebad852901cf9127a743df6ea10c0e8b1590c3.tar.bz2
linux-05ebad852901cf9127a743df6ea10c0e8b1590c3.zip
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/logfs/logfs.h b/fs/logfs/logfs.h
index 32bf55616e56..26a9458e6b13 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.