diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-12-15 03:41:03 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:50 +0300 |
commit | 81d8599e192e85fa7e01d8a6e8e4095177ff46a3 (patch) | |
tree | 02dadb2c9c063c69ffe931aa6a0d2f4c8f0111e0 /fs/bcachefs/bkey_methods.h | |
parent | 35a067b42dcfd884fb132128ae94f240c6511fea (diff) | |
download | linux-81d8599e192e85fa7e01d8a6e8e4095177ff46a3.tar.xz |
bcachefs: Don't read existing stripes synchronously in write path
Previously, in the stripe creation path, when reusing an existing stripe
we'd read the existing stripe synchronously - ouch.
Now, we allocate two stripe bufs if we're using an existing stripe, so
that we can do the read asynchronously - and, we read the full stripe so
that we can run recovery, if necessary.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bkey_methods.h')
0 files changed, 0 insertions, 0 deletions