mirror of
https://github.com/lkl/linux.git
synced 2025-12-20 00:23:14 +09:00
block: improve ioprio class description comment
In include/usapi/linux/ioprio.h, change the ioprio class enum comment to remove the outdated reference to CFQ and mention BFQ and mq-deadline instead. Also document the high priority NCQ command use for RT class IOs directed at ATA drives that support NCQ priority. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Link: https://lore.kernel.org/r/20210811033702.368488-3-damien.lemoal@wdc.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
committed by
Jens Axboe
parent
a680dd72ec
commit
25bca50e52
@@ -13,10 +13,12 @@
|
|||||||
#define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data)
|
#define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* These are the io priority groups as implemented by CFQ. RT is the realtime
|
* These are the io priority groups as implemented by the BFQ and mq-deadline
|
||||||
* class, it always gets premium service. BE is the best-effort scheduling
|
* schedulers. RT is the realtime class, it always gets premium service. For
|
||||||
* class, the default for any process. IDLE is the idle scheduling class, it
|
* ATA disks supporting NCQ IO priority, RT class IOs will be processed using
|
||||||
* is only served when no one else is using the disk.
|
* high priority NCQ commands. BE is the best-effort scheduling class, the
|
||||||
|
* default for any process. IDLE is the idle scheduling class, it is only
|
||||||
|
* served when no one else is using the disk.
|
||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
IOPRIO_CLASS_NONE,
|
IOPRIO_CLASS_NONE,
|
||||||
|
|||||||
Reference in New Issue
Block a user