Displaying 1 result from an estimated 1 matches for "ba2f151".
Did you mean:
ba27b51
2013 Dec 18
2
[PATCH] Btrfs: improve the performance fluctuating of the fsync
..._node);
+ if (ordered->csum_bytes_left)
+ continue;
+
spin_lock(&log->log_extents_lock[index]);
if (list_empty(&ordered->log_list)) {
list_add_tail(&ordered->log_list, &log->logged_list[index]);
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index ba2f151..3eae2eb 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -3631,8 +3631,6 @@ again:
* start over after this.
*/
- wait_event(ordered->wait, ordered->csum_bytes_left == 0);
-
list_for_each_entry(sum, &ordered->list, list) {
ret = btrfs_csum_file_blocks(tra...