diff options
author | Naohiro Aota <[email protected]> | 2020-11-10 20:26:11 +0900 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-12-09 19:16:04 +0100 |
commit | d206e9c9c576a0de2e6d1fdf17551e2a548955c0 (patch) | |
tree | 44c4cd209a2c8e3ee5dcef681a30345b847f1cf4 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 5d1ab66c56fed152acbbac1933b16d33ebd47d7f (diff) |
btrfs: disallow NODATACOW in ZONED mode
NODATACOW implies overwriting the file data on a device, which is
impossible in sequential required zones. Disable NODATACOW globally with
mount option and per-file NODATACOW attribute by masking FS_NOCOW_FL.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions