linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] IO priority fixes and improvements
@ 2021-08-06  5:11 Damien Le Moal
  2021-08-06  5:11 ` [PATCH v2 1/4] block: bfq: fix bfq_set_next_ioprio_data() Damien Le Moal
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Damien Le Moal @ 2021-08-06  5:11 UTC (permalink / raw)
  To: Jens Axboe, linux-block, Paolo Valente, linux-f2fs-devel,
	Jaegeuk Kim, Chao Yu

This series fixes problems with IO priority values handling and cleans
up several macro names and code for clarity.

Changes from v1:
* Added patch 4 to unify the default priority value used in various
  places.
* Fixed patch 2 as suggested by Bart: remove extra parenthesis and move
  ioprio_valid() from the uapi header to the kernel header.
* In patch 2, add priority value masking.

Damien Le Moal (4):
  block: bfq: fix bfq_set_next_ioprio_data()
  block: fix ioprio interface
  block: rename IOPRIO_BE_NR
  block: fix default IO priority handling

 block/bfq-iosched.c          | 10 +++++-----
 block/bfq-iosched.h          |  4 ++--
 block/bfq-wf2q.c             |  6 +++---
 block/ioprio.c               |  9 ++++-----
 drivers/nvme/host/lightnvm.c |  2 +-
 fs/f2fs/sysfs.c              |  2 +-
 include/linux/ioprio.h       | 22 ++++++++++++++++++----
 include/uapi/linux/ioprio.h  | 23 +++++++++++++----------
 8 files changed, 47 insertions(+), 31 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-08-06  8:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06  5:11 [PATCH v2 0/4] IO priority fixes and improvements Damien Le Moal
2021-08-06  5:11 ` [PATCH v2 1/4] block: bfq: fix bfq_set_next_ioprio_data() Damien Le Moal
2021-08-06  6:33   ` Hannes Reinecke
2021-08-06  5:11 ` [PATCH v2 2/4] block: fix ioprio interface Damien Le Moal
2021-08-06  6:35   ` Hannes Reinecke
2021-08-06  6:57     ` Damien Le Moal
2021-08-06  8:38       ` Hannes Reinecke
2021-08-06  5:11 ` [PATCH v2 3/4] block: rename IOPRIO_BE_NR Damien Le Moal
2021-08-06  6:37   ` Hannes Reinecke
2021-08-06  6:52     ` Damien Le Moal
2021-08-06  5:11 ` [PATCH v2 4/4] block: fix default IO priority handling Damien Le Moal
2021-08-06  6:39   ` Hannes Reinecke

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).