aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-06-29 21:02:17 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-07-01 22:56:28 -0400
commita2d23f3d916bf9abd77944882cba131af1085bcc (patch)
tree0aa90255a9354617ddf44bb6ab828210ea283253 /lib
parentb5cbb42dc59f519fa3cf49b9afbd5ee4805be01b (diff)
bcachefs: io clock: run timer fns under clock lock
We don't have a way to flush a timer that's executing the callback, and this is simple and limited enough in scope that we can just use the lock instead. Needed for the next patch that adds direct wakeups from the allocator to copygc, where we're now more frequently calling io_timer_del() on an expiring timer. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions