All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/6] IO priority fixes and improvements
@ 2021-08-11  3:36 ` Damien Le Moal
  0 siblings, 0 replies; 26+ messages in thread
From: Damien Le Moal @ 2021-08-11  3:36 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 v3:
* Split former patch 2 into patches 2, 3 and 4 to facilitate review and
  have more descriptive commit titles.
* In patch 5, keep IOPRIO_BE_NR as an alias for the new IOPRIO_NR_LEVELS
  macro. Change this patch title and commit message accordingly.
* In patch 6, define IOPRIO_BE_NORM as an alias of IOPRIO_NORM.

Changes from v2:
* Fixed typo in a comment in patch 3
* Added reviewed-by tags

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 (6):
  block: bfq: fix bfq_set_next_ioprio_data()
  block: improve ioprio class description comment
  block: change ioprio_valid() to an inline function
  block: fix IOPRIO_PRIO_CLASS() and IOPRIO_PRIO_VALUE() macros
  block: Introduce IOPRIO_NR_LEVELS
  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       | 17 ++++++++++++++++-
 include/uapi/linux/ioprio.h  | 34 ++++++++++++++++++++--------------
 8 files changed, 52 insertions(+), 32 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-08-18 21:52 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11  3:36 [PATCH v4 0/6] IO priority fixes and improvements Damien Le Moal
2021-08-11  3:36 ` [f2fs-dev] " Damien Le Moal
2021-08-11  3:36 ` [PATCH v4 1/6] block: bfq: fix bfq_set_next_ioprio_data() Damien Le Moal
2021-08-11  3:36   ` [f2fs-dev] " Damien Le Moal
2021-08-11  3:36 ` [PATCH v4 2/6] block: improve ioprio class description comment Damien Le Moal
2021-08-11  3:36   ` [f2fs-dev] " Damien Le Moal
2021-08-11  3:36 ` [PATCH v4 3/6] block: change ioprio_valid() to an inline function Damien Le Moal
2021-08-11  3:36   ` [f2fs-dev] " Damien Le Moal
2021-08-11  7:56   ` Johannes Thumshirn
2021-08-11  7:56     ` [f2fs-dev] " Johannes Thumshirn
2021-08-11  8:51     ` Damien Le Moal
2021-08-11  8:51       ` [f2fs-dev] " Damien Le Moal
2021-08-11  9:14       ` Johannes Thumshirn
2021-08-11  9:14         ` [f2fs-dev] " Johannes Thumshirn
2021-08-11  3:37 ` [PATCH v4 4/6] block: fix IOPRIO_PRIO_CLASS() and IOPRIO_PRIO_VALUE() macros Damien Le Moal
2021-08-11  3:37   ` [f2fs-dev] " Damien Le Moal
2021-08-11  3:37 ` [PATCH v4 5/6] block: Introduce IOPRIO_NR_LEVELS Damien Le Moal
2021-08-11  3:37   ` [f2fs-dev] " Damien Le Moal
2021-08-11  3:37 ` [PATCH v4 6/6] block: fix default IO priority handling Damien Le Moal
2021-08-11  3:37   ` [f2fs-dev] " Damien Le Moal
2021-08-18  9:53 ` [PATCH v4 0/6] IO priority fixes and improvements Damien Le Moal
2021-08-18  9:53   ` [f2fs-dev] " Damien Le Moal
2021-08-18 13:24 ` Jens Axboe
2021-08-18 13:24   ` [f2fs-dev] " Jens Axboe
2021-08-18 21:52   ` Damien Le Moal
2021-08-18 21:52     ` [f2fs-dev] " Damien Le Moal

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.