bcachefs: Add an O_DIRECT option (for userspace)
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 21 Jul 2022 19:41:29 +0000 (15:41 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:37 +0000 (17:09 -0400)
commit91f1b9fdd2c02a7375e46bb2628870f3c6116072
treec697d67baf3b0e00c3c43cee781d90f8d17632ef
parent01eed77178049b85ec1850717fc81bcb24e19c70
bcachefs: Add an O_DIRECT option (for userspace)

Sometimes we see IO errors due to O_DIRECT alignment issues - having an
option to use buffered IO will be helpful.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/opts.h