summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bcachefs.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-07-12 06:23:40 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 19:47:40 +0300
commit8408fa570ef9b8c35720369bad6b13828ae6b001 (patch)
tree9f29ee41d5e135f85cfb5d2cfa8ebf5463eeb819 /fs/bcachefs/bcachefs.h
parent7f391b2f8edc29a63913b6a2d42ea8cbb5a36ee8 (diff)
downloadlinux-8408fa570ef9b8c35720369bad6b13828ae6b001.tar.xz
bcachefs: BCH_IOCTL_FSCK_OFFLINE
This adds a new ioctl for running fsck on a list of devices. Normally, if we wish to use the kernel's implementation of fsck we'd run it at mount time with -o fsck. This ioctl lets us run fsck without mounting, so that userspace bcachefs-tools can transparently switch to the kernel's implementation of fsck when appropriate - primarily if the kernel version of bcachefs better matches the filesystem on disk. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
0 files changed, 0 insertions, 0 deletions