block: provide plug based way of signaling forced no-wait semantics
Provide a way for the caller to specify that IO should be marked with REQ_NOWAIT to avoid blocking on allocation. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
@@ -1189,6 +1189,7 @@ struct blk_plug {
|
||||
struct list_head cb_list; /* md requires an unplug callback */
|
||||
unsigned short rq_count;
|
||||
bool multiple_queues;
|
||||
bool nowait;
|
||||
};
|
||||
#define BLK_MAX_REQUEST_COUNT 16
|
||||
#define BLK_PLUG_FLUSH_SIZE (128 * 1024)
|
||||
|
Reference in New Issue
Block a user