Re: [PATCH v11 02/14] fs: export variant of generic_write_checks without iov_iter

From
Nikolay Borisov <hidden>
Date
2021-10-14 12:03:55
Also in
linux-btrfs, linux-fsdevel
Reply to
Omar Sandoval, 2021-09-01

On 1.09.21 г. 20:00, Omar Sandoval wrote:
From: Omar Sandoval <redacted>

Encoded I/O in Btrfs needs to check a write with a given logical size
without an iov_iter that matches that size (because the iov_iter we have
is for the compressed data). So, factor out the parts of
generic_write_check() that don't need an iov_iter into a new
generic_write_checks_count() function and export that.

Signed-off-by: Omar Sandoval <redacted>
Reviewed-by: Nikolay Borisov <redacted>
Thread (62 messages) 62 messages, 2 authors, last reply 2022-01-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help