linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] use blk_rq_nr_phys_segments() instead of iterating bvecs
@ 2025-11-08 23:00 Caleb Sander Mateos
  2025-11-08 23:01 ` [PATCH 1/2] loop: " Caleb Sander Mateos
  2025-11-08 23:01 ` [PATCH 2/2] zloop: " Caleb Sander Mateos
  0 siblings, 2 replies; 10+ messages in thread
From: Caleb Sander Mateos @ 2025-11-08 23:00 UTC (permalink / raw)
  To: Jens Axboe, Damien Le Moal, Christoph Hellwig
  Cc: linux-block, linux-kernel, Caleb Sander Mateos

Minor simplification to loop and zloop to get the number of segments
from the request directly instead of iterating over all its bvecs.

Caleb Sander Mateos (2):
  loop: use blk_rq_nr_phys_segments() instead of iterating bvecs
  zloop: use blk_rq_nr_phys_segments() instead of iterating bvecs

 drivers/block/loop.c  | 5 +----
 drivers/block/zloop.c | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

-- 
2.45.2


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

end of thread, other threads:[~2025-11-11 18:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-08 23:00 [PATCH 0/2] use blk_rq_nr_phys_segments() instead of iterating bvecs Caleb Sander Mateos
2025-11-08 23:01 ` [PATCH 1/2] loop: " Caleb Sander Mateos
2025-11-09 12:19   ` Ming Lei
2025-11-09 19:05     ` Chaitanya Kulkarni
2025-11-10 16:47     ` Caleb Sander Mateos
2025-11-10 21:34       ` Chaitanya Kulkarni
2025-11-11  1:22       ` Ming Lei
2025-11-08 23:01 ` [PATCH 2/2] zloop: " Caleb Sander Mateos
2025-11-11  9:07   ` Christoph Hellwig
2025-11-11 18:19     ` Chaitanya Kulkarni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).