aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2022-09-12 12:27:43 -0700
committerDavid Sterba <[email protected]>2022-09-29 17:08:26 +0200
commit26ce91144631a402ff82c93358d8880326a7caa3 (patch)
treedbd450729f59e3b1e947dd2e4ba8a69ed175c1f6 /lib/memory-notifier-error-inject.c
parent857bc13f857aea957ae038b2b43c28560976024a (diff)
btrfs: make can_nocow_extent nowait compatible
If we have NOWAIT specified on our IOCB and we're writing into a PREALLOC or NOCOW extent then we need to be able to tell can_nocow_extent that we don't want to wait on any locks or metadata IO. Fix can_nocow_extent to allow for NOWAIT. Reviewed-by: Filipe Manana <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: Stefan Roesch <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions