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: avoid tree log commit when there are no changes
[linux-2.6-block.git]
/
fs
/
btrfs
/
ctree.h
diff --git
a/fs/btrfs/ctree.h
b/fs/btrfs/ctree.h
index 36a19cd43e035c49d87e01b10c5a80e8b5b3fcd9..d0cede5ff25e06c2df85426c4340be4021a50a3b 100644
(file)
--- a/
fs/btrfs/ctree.h
+++ b/
fs/btrfs/ctree.h
@@
-1009,6
+1009,7
@@
struct btrfs_root {
atomic_t log_writers;
atomic_t log_commit[2];
unsigned long log_transid;
+ unsigned long last_log_commit;
unsigned long log_batch;
pid_t log_start_pid;
bool log_multiple_pids;