Re: [PATCH V2] raid1: ensure write behind bio has less than BIO_MAX_VECS sectors

From
Christoph Hellwig <hch@infradead.org>
Date
2021-08-23 06:51:40
Also in
linux-block
Reply to
Guoqing Jiang, 2021-08-20
On Fri, Aug 20, 2021 at 04:19:22PM +0800, Guoqing Jiang wrote:
How about this?

+???????????????????????????? /*
+?????????????????????????????? * The write-behind io is only attempted on drives marked as
+?????????????????????????????? * write-mostly, which means we will allocate write behind
+?????????????????????????????? * bio later.
+?????????????????????????????? */
?????????????????????????????? if (test_bit(WriteMostly, &mirror->rdev->flags))
?????????????????????????????????????????????? write_behind = true;
Except for the weird formatting of the whitespaces this looks good.
Thread (7 messages) 7 messages, 3 authors, last reply 2021-08-23
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