Thread (15 messages) 15 messages, 3 authors, 2021-01-04

Re: [PATCH v2 2/7] bvec/iter: disallow zero-length segment bvecs

From: Matthew Wilcox <willy@infradead.org>
Date: 2021-01-04 16:39:03
Also in: linux-block, linux-doc, linux-fsdevel, linux-scsi, linux-xfs, lkml, target-devel

On Sat, Jan 02, 2021 at 03:17:34PM +0000, Pavel Begunkov wrote:
quoted hunk ↗ jump to hunk
--- a/Documentation/filesystems/porting.rst
+++ b/Documentation/filesystems/porting.rst
@@ -865,3 +865,10 @@ no matter what.  Everything is handled by the caller.
 
 clone_private_mount() returns a longterm mount now, so the proper destructor of
 its result is kern_unmount() or kern_unmount_array().
+
+---
+
+**mandatory**
+
+zero-length bvec segments are disallowed, they must be filtered out before
+passed on to an iterator.
Why are you putting this in filesystems/porting?  Filesystems don't usually
generate bvecs ... there's nothing in this current series that stops them.
I'd suggest Documentation/block/biovecs.rst or biodoc.rst (and frankly,
biodoc.rst needs a good cleanup)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help