[PATCH 1/7] block: add support for carrying a stream ID in a bio

2015-05-05 Thread Jens Axboe
The top bits of bio->bi_flags are reserved for keeping the allocation pool, set aside the next eight bits for carrying a stream ID. That leaves us with support for 255 streams, 0 is reserved as a "stream not set" value. Add helpers for setting/getting stream ID of a bio. Signed-off-by: Jens Axboe

[PATCH 1/7] block: add support for carrying a stream ID in a bio

2015-04-18 Thread Jens Axboe
The top bits of bio->bi_flags are reserved for keeping the allocation pool, set aside the next eight bits for carrying a stream ID. That leaves us with support for 255 streams, 0 is reserved as a "stream not set" value. Add helpers for setting/getting stream ID of a bio. Signed-off-by: Jens Axboe

Re: [PATCH 1/7] block: add support for carrying a stream ID in a bio

2015-04-18 Thread Jens Axboe
On 04/09/2015 04:46 PM, Andreas Dilger wrote: On Mar 25, 2015, at 9:07 AM, Jens Axboe wrote: The top bits of bio->bi_flags are reserved for keeping the allocation pool, set aside the next eight bits for carrying a stream ID. That leaves us with support for 255 streams, 0 is reserved as a "stre

[PATCH 1/7] block: add support for carrying a stream ID in a bio

2015-03-25 Thread Jens Axboe
The top bits of bio->bi_flags are reserved for keeping the allocation pool, set aside the next eight bits for carrying a stream ID. That leaves us with support for 255 streams, 0 is reserved as a "stream not set" value. Add helpers for setting/getting stream ID of a bio. Signed-off-by: Jens Axboe