mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
Btrfs: Disable the dir fsync optimization to skip logging the dir sometimes
More testing has turned up a bug, disable this for now. Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
d0c803c404
commit
9623f9a389
1 changed files with 1 additions and 2 deletions
|
@ -2686,8 +2686,7 @@ next_slot:
|
||||||
ins_nr = 0;
|
ins_nr = 0;
|
||||||
}
|
}
|
||||||
WARN_ON(ins_nr);
|
WARN_ON(ins_nr);
|
||||||
if (inode_only == LOG_INODE_ALL && S_ISDIR(inode->i_mode) &&
|
if (inode_only == LOG_INODE_ALL && S_ISDIR(inode->i_mode)) {
|
||||||
BTRFS_I(inode)->log_dirty_trans >= trans->transid) {
|
|
||||||
btrfs_release_path(root, path);
|
btrfs_release_path(root, path);
|
||||||
btrfs_release_path(log, dst_path);
|
btrfs_release_path(log, dst_path);
|
||||||
BTRFS_I(inode)->log_dirty_trans = 0;
|
BTRFS_I(inode)->log_dirty_trans = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue