Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1387012
| From | Shaohua Li <shli@fb.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] block: copy NOMERGE flag from bio to request |
| Date | 2016-04-26 02:00 +0200 |
| Message-ID | <rrYA2-67A-15@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
bio might have NOMERGE flag set, for example blk_queue_split sets it.
When we initiate request, copy this flag too.
Signed-off-by: Shaohua Li <shli@fb.com>
---
include/linux/blk_types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 86a38ea..77e5d81 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -208,7 +208,7 @@ enum rq_flag_bits {
#define REQ_COMMON_MASK \
(REQ_WRITE | REQ_FAILFAST_MASK | REQ_SYNC | REQ_META | REQ_PRIO | \
REQ_DISCARD | REQ_WRITE_SAME | REQ_NOIDLE | REQ_FLUSH | REQ_FUA | \
- REQ_SECURE | REQ_INTEGRITY)
+ REQ_SECURE | REQ_INTEGRITY | REQ_NOMERGE)
#define REQ_CLONE_MASK REQ_COMMON_MASK
#define BIO_NO_ADVANCE_ITER_MASK (REQ_DISCARD|REQ_WRITE_SAME)
--
2.8.0.rc2
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] block: copy NOMERGE flag from bio to request Shaohua Li <shli@fb.com> - 2016-04-26 02:00 +0200 Re: [PATCH] block: copy NOMERGE flag from bio to request Jens Axboe <axboe@kernel.dk> - 2016-04-26 03:20 +0200
csiph-web