Skip to content

Commit

Permalink
XANMOD: block: Set rq_affinity to force complete I/O requests on same…
Browse files Browse the repository at this point in the history
… CPU

Signed-off-by: Alexandre Frade <[email protected]>
  • Loading branch information
xanmod committed Sep 16, 2024
1 parent f4b45e0 commit 08580ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,8 @@ enum {
QUEUE_FLAG_MAX
};

#define QUEUE_FLAG_MQ_DEFAULT (1UL << QUEUE_FLAG_SAME_COMP)
#define QUEUE_FLAG_MQ_DEFAULT ((1UL << QUEUE_FLAG_SAME_COMP) | \
(1UL << QUEUE_FLAG_SAME_FORCE))

void blk_queue_flag_set(unsigned int flag, struct request_queue *q);
void blk_queue_flag_clear(unsigned int flag, struct request_queue *q);
Expand Down

0 comments on commit 08580ad

Please sign in to comment.