diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-09-22 22:02:05 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:27 +0300 |
commit | 0a426c323927d647f6c31d063ee2f1abbe53db80 (patch) | |
tree | f91b42f0d302c9f872411bc0f25058604a73888f /fs/bcachefs/btree_locking.h | |
parent | ec350b90d73b7b8ead9f377c58efe04b12f6ba6e (diff) | |
download | linux-0a426c323927d647f6c31d063ee2f1abbe53db80.tar.xz |
bcachefs: Handle bio_iov_iter_get_pages() returning unaligned bio
If the user buffer isn't aligned to the filesystem block size, on a
large enough IO - where it won't fit into a single bio -
bio_iov_iter_get_pages() won't necessarily return a bio with the proper
alignment.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_locking.h')
0 files changed, 0 insertions, 0 deletions