Thread (37 messages) 37 messages, 4 authors, 2017-08-10

Re: [PATCH 1/9] QUEUE_FLAG_NOWAIT to indicate device supports nowait

From: Jens Axboe <axboe@kernel.dk>
Date: 2017-08-08 20:36:22
Also in: dm-devel, linux-block

On 08/08/2017 02:32 PM, Shaohua Li wrote:
quoted
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 25f6a0cb27d3..fae021ebec1b 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -633,6 +633,7 @@ struct request_queue {
 #define QUEUE_FLAG_REGISTERED  29	/* queue has been registered to a disk */
 #define QUEUE_FLAG_SCSI_PASSTHROUGH 30	/* queue supports SCSI commands */
 #define QUEUE_FLAG_QUIESCED    31	/* queue has been quiesced */
+#define QUEUE_FLAG_NOWAIT      32	/* stack device driver supports REQ_NOWAIT */
Does this work on 32-bit, where sizeof(unsigned long) == 32?

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help