]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/btrfs/ctree.h
Btrfs: avoid tree log commit when there are no changes
[net-next-2.6.git] / fs / btrfs / ctree.h
index 36a19cd43e035c49d87e01b10c5a80e8b5b3fcd9..d0cede5ff25e06c2df85426c4340be4021a50a3b 100644 (file)
@@ -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;