Message ID | 20240619154623.450048-3-hch@lst.de (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | [1/6] block: remove the unused blk_bounce enum | expand |
Context | Check | Description |
---|---|---|
mdraidci/vmtest-md-6_11-PR | success | PR summary |
mdraidci/vmtest-md-6_11-VM_Test-0 | success | Logs for build-kernel |
On 6/20/24 00:45, Christoph Hellwig wrote: > Suggested-by: Damien Le Moal <dlemoal@kernel.org> > Signed-off-by: Christoph Hellwig <hch@lst.de> You can remove "for" in the commit title. Other than that, looks good to me. Reviewed-by: Damien Le Moal <dlemoal@kernel.org> > --- > Documentation/block/writeback_cache_control.rst | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/block/writeback_cache_control.rst b/Documentation/block/writeback_cache_control.rst > index c575e08beda8e3..c3707d07178045 100644 > --- a/Documentation/block/writeback_cache_control.rst > +++ b/Documentation/block/writeback_cache_control.rst > @@ -70,8 +70,8 @@ flag in the features field of the queue_limits structure. > Implementation details for bio based block drivers > -------------------------------------------------- > > -For bio based drivers the REQ_PREFLUSH and REQ_FUA bit are simplify passed on > -to the driver if the drivers sets the BLK_FEAT_WRITE_CACHE flag and the drivers > +For bio based drivers the REQ_PREFLUSH and REQ_FUA bit are simply passed on to > +the driver if the driver sets the BLK_FEAT_WRITE_CACHE flag and the driver > needs to handle them. > > *NOTE*: The REQ_FUA bit also gets passed on when the BLK_FEAT_FUA flags is > @@ -89,7 +89,7 @@ When the BLK_FEAT_WRITE_CACHE flag is set, REQ_OP_WRITE | REQ_PREFLUSH requests > with a payload are automatically turned into a sequence of a REQ_OP_FLUSH > request followed by the actual write by the block layer. > > -When the BLK_FEAT_FUA flags is set, the REQ_FUA bit simplify passed on for the > +When the BLK_FEAT_FUA flags is set, the REQ_FUA bit is simply passed on for the > REQ_OP_WRITE request, else a REQ_OP_FLUSH request is sent by the block layer > after the completion of the write request for bio submissions with the REQ_FUA > bit set.
diff --git a/Documentation/block/writeback_cache_control.rst b/Documentation/block/writeback_cache_control.rst index c575e08beda8e3..c3707d07178045 100644 --- a/Documentation/block/writeback_cache_control.rst +++ b/Documentation/block/writeback_cache_control.rst @@ -70,8 +70,8 @@ flag in the features field of the queue_limits structure. Implementation details for bio based block drivers -------------------------------------------------- -For bio based drivers the REQ_PREFLUSH and REQ_FUA bit are simplify passed on -to the driver if the drivers sets the BLK_FEAT_WRITE_CACHE flag and the drivers +For bio based drivers the REQ_PREFLUSH and REQ_FUA bit are simply passed on to +the driver if the driver sets the BLK_FEAT_WRITE_CACHE flag and the driver needs to handle them. *NOTE*: The REQ_FUA bit also gets passed on when the BLK_FEAT_FUA flags is @@ -89,7 +89,7 @@ When the BLK_FEAT_WRITE_CACHE flag is set, REQ_OP_WRITE | REQ_PREFLUSH requests with a payload are automatically turned into a sequence of a REQ_OP_FLUSH request followed by the actual write by the block layer. -When the BLK_FEAT_FUA flags is set, the REQ_FUA bit simplify passed on for the +When the BLK_FEAT_FUA flags is set, the REQ_FUA bit is simply passed on for the REQ_OP_WRITE request, else a REQ_OP_FLUSH request is sent by the block layer after the completion of the write request for bio submissions with the REQ_FUA bit set.
Suggested-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> --- Documentation/block/writeback_cache_control.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)