projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: reduce stalls during transaction commit
[linux-2.6-block.git]
/
fs
/
btrfs
/
transaction.h
diff --git
a/fs/btrfs/transaction.h
b/fs/btrfs/transaction.h
index 94876709217f50bbbe018ab325c81ca4e6d5322b..94f5bde2b58d40144a5d5ddf3a11607cef4b0e82 100644
(file)
--- a/
fs/btrfs/transaction.h
+++ b/
fs/btrfs/transaction.h
@@
-23,7
+23,12
@@
struct btrfs_transaction {
u64 transid;
+ /*
+ * total writers in this transaction, it must be zero before the
+ * transaction can end
+ */
unsigned long num_writers;
+
unsigned long num_joined;
int in_commit;
int use_count;