aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorMiao Xie <[email protected]>2013-05-14 10:20:43 +0000
committerJosef Bacik <[email protected]>2013-06-14 15:29:36 +0000
commitbabbf170c781f24095336c82ebf18ad272ddb773 (patch)
treecc18313731030bc2f314d103aaf81aa599b1cb17 /fs/btrfs/dev-replace.c
parentBtrfs: move the R/O check out of btrfs_clean_one_deleted_snapshot() (diff)
downloadkernel-babbf170c781f24095336c82ebf18ad272ddb773.tar.gz
kernel-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 <[email protected]> Signed-off-by: Miao Xie <[email protected]> Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions