commit | 49eb7e46d47ea72a9bd2a5f8cedb04f5159cc277 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Thu Sep 11 15:53:12 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:07 2008 -0400 |
tree | c3d05588c3cf73453673206214fadedc07bd79d7 | |
parent | 98509cfc5a6857bddcfe4b19a9539726655ec9bd [diff] |
Btrfs: Dir fsync optimizations Drop i_mutex during the commit Don't bother doing the fsync at all unless the dir is marked as dirtied and needing fsync in this transaction. For directories, this means that someone has unlinked a file from the dir without fsyncing the file. Signed-off-by: Chris Mason <chris.mason@oracle.com>