summaryrefslogtreecommitdiff
path: root/fs/binfmt_elf_test.c
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2023-06-29 11:37:31 +0300
committerDavid Sterba <dsterba@suse.com>2023-07-20 20:18:14 +0300
commit95ca6599a589ee84c69f02d0e1d928c8d1367fb1 (patch)
treef613c04b56ef5c349bf2180c97243d43eee84b63 /fs/binfmt_elf_test.c
parentaa84ce8a78a1a5c10cdf9c7a5fb0c999fbc2c8d6 (diff)
downloadlinux-95ca6599a589ee84c69f02d0e1d928c8d1367fb1.tar.xz
btrfs: zoned: do not enable async discard
The zoned mode need to reset a zone before using it. We rely on btrfs's original discard functionality (discarding unused block group range) to do the resetting. While the commit 63a7cb130718 ("btrfs: auto enable discard=async when possible") made the discard done in an async manner, a zoned reset do not need to be async, as it is fast enough. Even worth, delaying zone rests prevents using those zones again. So, let's disable async discard on the zoned mode. Fixes: 63a7cb130718 ("btrfs: auto enable discard=async when possible") CC: stable@vger.kernel.org # 6.3+ Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> [ update message text ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/binfmt_elf_test.c')
0 files changed, 0 insertions, 0 deletions