All of lore.kernel.org
 help / color / mirror / Atom feed
* clean up bio merge conditions
@ 2024-11-19 16:11 Christoph Hellwig
  2024-11-19 16:11 ` [PATCH 1/2] block: don't bother checking the data direction for merges Christoph Hellwig
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Christoph Hellwig @ 2024-11-19 16:11 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block

Hi Jens,

Dan's smatch run pointed out that there is no need to check for a NULL
req->bio in the merge bio into request and request merge helpers
because they can't ever be reached by flush or passthrough requests.

While validing that I also found a few other odd bits directly next
to it, so this two-patch series fixes all of that.

Diffstat:
 blk-merge.c |   35 +++++++----------------------------
 1 file changed, 7 insertions(+), 28 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-11-20  2:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19 16:11 clean up bio merge conditions Christoph Hellwig
2024-11-19 16:11 ` [PATCH 1/2] block: don't bother checking the data direction for merges Christoph Hellwig
2024-11-19 16:48   ` John Garry
2024-11-19 16:49     ` Christoph Hellwig
2024-11-19 16:11 ` [PATCH 2/2] block: req->bio is always set in the merge code Christoph Hellwig
2024-11-19 16:59   ` John Garry
2024-11-19 16:36 ` clean up bio merge conditions Martin K. Petersen
2024-11-19 16:56 ` Johannes Thumshirn
2024-11-20  2:07 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.