diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-10 23:37:19 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:57 -0400 |
commit | e28ef07e0ef47c03f773571d85bc82fcce831376 (patch) | |
tree | f607da59b7bbfee2c85074013a9259f12f06f7ab /fs/stack.c | |
parent | 46e14854fca4a262a823079c1958a204f983fa4e (diff) | |
download | lwn-e28ef07e0ef47c03f773571d85bc82fcce831376.tar.gz lwn-e28ef07e0ef47c03f773571d85bc82fcce831376.zip |
bcachefs: Simplify stripe_idx_to_delete
This is not technically correct - it's subject to a race if we ever end
up with a stripe with all empty blocks (that needs to be deleted) being
held open. But the "correct" version was much too inefficient, and soon
we'll be adding a stripes LRU.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions