diff options
author | Naohiro Aota <[email protected]> | 2022-03-29 15:55:58 +0900 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-04-06 00:49:50 +0200 |
commit | a690e5f2db4d1dca742ce734aaff9f3112d63764 (patch) | |
tree | 996c090e12c2bbe40b8ecf9f311d5608fae67f4b /fs/btrfs/disk-io.c | |
parent | d03ae0d3b687223de24d3dd1a7bca96034aeca25 (diff) |
btrfs: mark resumed async balance as writing
When btrfs balance is interrupted with umount, the background balance
resumes on the next mount. There is a potential deadlock with FS freezing
here like as described in commit 26559780b953 ("btrfs: zoned: mark
relocation as writing"). Mark the process as sb_writing to avoid it.
Reviewed-by: Filipe Manana <[email protected]>
CC: [email protected] # 4.9+
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions