summaryrefslogtreecommitdiff
path: root/fs/bcachefs/clock.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-12-15 03:41:03 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:50 +0300
commit81d8599e192e85fa7e01d8a6e8e4095177ff46a3 (patch)
tree02dadb2c9c063c69ffe931aa6a0d2f4c8f0111e0 /fs/bcachefs/clock.c
parent35a067b42dcfd884fb132128ae94f240c6511fea (diff)
downloadlinux-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/clock.c')
0 files changed, 0 insertions, 0 deletions