Thread (14 messages) 14 messages, 5 authors, 2021-02-08

Re: [PATCH] block: recalculate segment count for multi-segment discard requests correctly

flat view

From: Chaitanya Kulkarni <hidden>
Date: 2021-02-03 03:21:50
Also in: lkml

On 2/2/21 18:39, Ming Lei wrote:
quoted hunk ↗ jump to hunk
+			struct bio *bio = rq->bio;
+			for_each_bio(bio)
+				nr_phys_segs++;
+			return nr_phys_segs;
+		}
Also, you need to add a new line after declaration of bio in the above
code block.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help