diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-05-14 12:20:43 +0200 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-06-14 17:29:36 +0200 |
commit | babbf170c781f24095336c82ebf18ad272ddb773 (patch) | |
tree | cc18313731030bc2f314d103aaf81aa599b1cb17 /fs/btrfs/root-tree.c | |
parent | Btrfs: move the R/O check out of btrfs_clean_one_deleted_snapshot() (diff) | |
download | linux-babbf170c781f24095336c82ebf18ad272ddb773.tar.xz linux-babbf170c781f24095336c82ebf18ad272ddb773.zip |
Btrfs: make the snap/subv deletion end more early when the fs is R/O
The snapshot/subvolume deletion might spend lots of time, it would make
the remount task wait for a long time. This patch improve this problem,
we will break the deletion if the fs is remounted to be R/O. It will make
the users happy.
Cc: David Sterba <dsterba@suse.cz>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/root-tree.c')
0 files changed, 0 insertions, 0 deletions