summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/io_read.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-09-11 01:11:47 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:10:12 +0200
commitf3e374efbf1e32fc0235d44abc68abae06a8f7ab (patch)
tree5c31a7e0533597c868cf8e5c9d0e19dc7ad0a38e /fs/bcachefs/io_read.c
parentbcachefs: Log truncate operations (diff)
downloadlinux-f3e374efbf1e32fc0235d44abc68abae06a8f7ab.tar.xz
linux-f3e374efbf1e32fc0235d44abc68abae06a8f7ab.zip
bcachefs: Log finsert/fcollapse operations
Now that we have the logged operations btree, we can make finsert/fcollapse atomic w.r.t. unclean shutdown as well. This adds bch_logged_op_finsert to represent the state of an finsert or fcollapse, which is a bit more complicated than truncate since we need to track our position in the "shift extents" operation. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/io_read.c')
0 files changed, 0 insertions, 0 deletions