bcachefs: Add option for completely disabling nocow
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 25 Feb 2023 00:07:21 +0000 (19:07 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:54 +0000 (17:09 -0400)
commit33669e0cc94e9554cf162cbe2e63155887a10231
tree2c39afb2b393d1d0b131af86456123573320ad00
parent1a14e255100cb17cface9ca179ca7ddba87fd8b9
bcachefs: Add option for completely disabling nocow

This adds an option for completely disabling nocow mode, including the
locking in the data move path.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/data_update.c
fs/bcachefs/io.c
fs/bcachefs/opts.h