No functional changes in this patch, we just add four flags
that will be used to denote a stream type, and ensure that we
don't merge across different stream types.
Signed-off-by: Jens Axboe
---
block/blk-merge.c | 16
include/linux/blk_types.h | 11
On 06/14/2017 02:37 PM, Christoph Hellwig wrote:
> Btw, I think these could also easily map to DSM field in the NVMe
> write command, except that these unfortunately mix in read information
> as well.
But that's the problem, they are read/write mixed flags. I'd much
rather keep them separate. If
Btw, I think these could also easily map to DSM field in the NVMe
write command, except that these unfortunately mix in read information
as well.
> + __REQ_WRITE_SHORT, /* short life time write */
-> Frequent writes and infrequent reads to the LBA range indicated.
or
-> Frequent
No functional changes in this patch, we just add four flags
that will be used to denote a stream type, and ensure that we
don't merge across different stream types.
Signed-off-by: Jens Axboe
---
block/blk-merge.c | 16
include/linux/blk_types.h | 11
On Jun 13, 2017, at 11:15 AM, Jens Axboe wrote:
>
> No functional changes in this patch, but it allows each bio to
> carry a stream ID and disallows merging of bio's with different
> stream IDs.
>
> Signed-off-by: Jens Axboe
Reviewed-by: Andreas Dilger
No functional changes in this patch, but it allows each bio to
carry a stream ID and disallows merging of bio's with different
stream IDs.
Signed-off-by: Jens Axboe
---
block/bio.c | 2 ++
block/blk-merge.c | 14 ++
include/linux/blk_types.h |