lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250825093700.3731633-1-yukuai1@huaweicloud.com>
Date: Mon, 25 Aug 2025 17:36:53 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: hch@...radead.org,
	colyli@...nel.org,
	hare@...e.de,
	tieren@...as.com,
	axboe@...nel.dk,
	tj@...nel.org,
	josef@...icpanda.com,
	song@...nel.org,
	yukuai3@...wei.com,
	akpm@...ux-foundation.org,
	neil@...wn.name
Cc: linux-block@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	cgroups@...r.kernel.org,
	linux-raid@...r.kernel.org,
	yukuai1@...weicloud.com,
	yi.zhang@...wei.com,
	yangerkun@...wei.com,
	johnny.chenyi@...wei.com
Subject: [PATCH RFC 0/7] block: fix disordered IO in the case recursive split

From: Yu Kuai <yukuai3@...wei.com>

patch 1 export a bio split helper;
patch 2-6 unfiy bio split code from mdraid to use the helper;
patch 7 convert the helper to insert split bio to the head of current
bio_list

This set is just test for raid5 for now, see details in patch 7;

Yu Kuai (7):
  block: export helper bio_submit_split()
  md/raid0: convert raid0_handle_discard() to use bio_submit_split()
  md/raid1: convert to use bio_submit_split()
  md/raid10: convert read/write to use bio_submit_split()
  md/raid5: convert to use bio_submit_split()
  md/md-linear: convert to use bio_submit_split()
  block: fix disordered IO in the case recursive split

 block/blk-core.c       | 54 ++++++++++++++++++++++++-------------
 block/blk-merge.c      | 60 +++++++++++++++++++++++++++---------------
 block/blk-throttle.c   |  2 +-
 block/blk.h            |  3 ++-
 drivers/md/md-linear.c | 14 +++-------
 drivers/md/raid0.c     | 20 ++++++--------
 drivers/md/raid1.c     | 35 ++++++++++--------------
 drivers/md/raid10.c    | 53 ++++++++++++++++---------------------
 drivers/md/raid10.h    |  1 +
 drivers/md/raid5.c     | 12 +++++----
 include/linux/bio.h    |  2 ++
 11 files changed, 135 insertions(+), 121 deletions(-)

-- 
2.39.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ