Skip to content

Commit 6fb0aa0

Browse files
committed
only setup multiqueue scheduler for RHEL greater than 7.6
Signed-off-by: YangKeao <[email protected]>
1 parent bd3664b commit 6fb0aa0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Jobs: 16 (f=16): [r(16)][10.8%][r=55.5MiB/s,w=0KiB/s][r=14.2k,w=0 IOPS][eta 01m:
5050

5151
#### Note
5252

53-
1. multi-queue scheduler is only supported on the kernel newer than 4.0, or the rhel kernel released after RHEL 7.2
53+
1. multi-queue scheduler registration is only supported on the kernel newer than 4.0, or the rhel kernel released after RHEL 7.6
5454

5555
## Warning
5656

driver/ioem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
static void ioem_error_injection(struct request* rq);
2222

23-
#define IOEM_MQ_ENABLED ((LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0)) || (defined RHEL_MAJOR && RHEL_MAJOR >= 7 && defined RHEL_MINOR && RHEL_MINOR >= 2))
23+
#define IOEM_MQ_ENABLED ((LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0)) || (defined RHEL_MAJOR && RHEL_MAJOR >= 7 && defined RHEL_MINOR && RHEL_MINOR >= 6))
2424

2525
/**
2626
* struct ioem_data - the main data of ioem

0 commit comments

Comments
 (0)