btrfs: skip LOOP_NO_EMPTY_SIZE if not clustered allocation
authorNaohiro Aota <naohiro.aota@wdc.com>
Tue, 25 Feb 2020 03:56:25 +0000 (12:56 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:51 +0000 (17:01 +0100)
commit45d8e033b2354e74a3f80cffec0b0b1aa099f4c7
tree1bfb8f3610e0f1df8de39aac1252a66a42861df3
parentc70e2139dc81b35c7d86a5d550490f7eb1451c2e
btrfs: skip LOOP_NO_EMPTY_SIZE if not clustered allocation

LOOP_NO_EMPTY_SIZE is solely dedicated for clustered allocation. So, we
can skip this stage and give up the allocation.

Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c