Displaying 1 result from an estimated 1 matches for "f77935e".
Did you mean:
377935
2009 Oct 08
0
[PATCH] Btrfs: optimize fsync for the single writer case
...1 jiffie for every
fdatasync really starts to add up.
Signed-off-by: Josef Bacik <jbacik@redhat.com>
---
fs/btrfs/ctree.h | 2 ++
fs/btrfs/tree-log.c | 12 +++++++++++-
2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 2aeb3a8..f77935e 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1001,6 +1001,8 @@ struct btrfs_root {
atomic_t log_commit[2];
unsigned long log_transid;
unsigned long log_batch;
+ pid_t log_start_pid;
+ bool log_multiple_pids;
u64 objectid;
u64 last_trans;
diff --git a/fs/btrfs/tree-log.c b/fs...