Thread (14 messages) 14 messages, 2 authors, 2017-04-12

Re: [PATCH 5/9] nowait aio: return on congested block device

flat view

From: Christoph Hellwig <hch@infradead.org>
Date: 2017-04-12 08:36:25
Also in: linux-block, linux-btrfs, linux-ext4, linux-fsdevel, linux-xfs

As mentioned last time around, this should be a REQ_NOWAIT flag so
that it can be easily passed down to the request layer.
quoted hunk ↗ jump to hunk
+static inline void bio_wouldblock_error(struct bio *bio)
+{
+	bio->bi_error = -EAGAIN;
+	bio_endio(bio);
+}
Please skip this helper..
+#define QUEUE_FLAG_NOWAIT      28	/* queue supports BIO_NOWAIT */
Please make the flag name a little more descriptive, this sounds like
it will never wait.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help