bcachefs: discard path uses unlock_long()
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 22 Jan 2024 23:08:51 +0000 (18:08 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 24 Jan 2024 22:27:46 +0000 (17:27 -0500)
commit096386a5bcf02e4053dc8b6cacb09a8493eeee4f
treedb441c5f817bab587c28f8e515d0f849a0ddf333
parent3e44f325f6f75078cdcd44cd337f517ba3650d05
bcachefs: discard path uses unlock_long()

Some (bad) devices can have really terrible discard latency; we don't
want them blocking memory reclaim and causing warnings.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.c