summaryrefslogtreecommitdiff
path: root/block/bio.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-06-23 00:53:44 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-06-25 18:47:55 -0400
commit64ee1431cc7d11e01a1007ead0afe737781cbbab (patch)
treee833a476f9f64b521cebea7cddea06cbc8439408 /block/bio.c
parent472237b69d071c877e97bf0bc3eab1be865fad29 (diff)
bcachefs: Discard, invalidate workers are now per device
There's no reason for discards to be single threaded across all devices; this will improve performance on multi device setups. Additionally, making them per-device simplifies the refcounting on bch_dev->io_ref; we now hold it for the duration that the discard path is running, which fixes a race between the discard path and device removal. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions