bcachefs: Inline fastpath of bch2_disk_reservation_add()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 1 Nov 2022 02:28:09 +0000 (22:28 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:04 +0000 (17:09 -0400)
commit7e94eeffe0e79a54e525ad05302eb454fb96affd
tree840f163a833701377be0a9cae0ac25e1ab406058
parentddc7dd62f0971d5c46c155134c647e7d493b2045
bcachefs: Inline fastpath of bch2_disk_reservation_add()

The fastpath now doesn't even disable preemption - instead we use a (non
locked) cmpxchg.

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