]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add the ability to use NO_FLUSH for data reservations
authorJosef Bacik <josef@toxicpanda.com>
Mon, 12 Sep 2022 19:27:44 +0000 (12:27 -0700)
committerDavid Sterba <dsterba@suse.com>
Thu, 29 Sep 2022 15:08:28 +0000 (17:08 +0200)
commit1daedb1d6bf24c7185e00cd341404f262f8de7c8
tree5b3411ade991ec8ea12cb778b028992e426ebad3
parent26ce91144631a402ff82c93358d8880326a7caa3
btrfs: add the ability to use NO_FLUSH for data reservations

In order to accommodate NOWAIT IOCB's we need to be able to do NO_FLUSH
data reservations, so plumb this through the delalloc reservation
system.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Stefan Roesch <shr@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c
fs/btrfs/delalloc-space.c
fs/btrfs/delalloc-space.h
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/space-info.c