linux-brain/Documentation/block
Christoph Hellwig 130a02bce6 block: better op and flags encoding
Now that we don't need the common flags to overflow outside the range
of a 32-bit type we can encode them the same way for both the bio and
request fields.  This in addition allows us to place the operation
first (and make some room for more ops while we're at it) and to
stop having to shift around the operation values.

In addition this allows passing around only one value in the block layer
instead of two (and eventuall also in the file systems, but we can do
that later) and thus clean up a lot of code.

Last but not least this allows decreasing the size of the cmd_flags
field in struct request to 32-bits.  Various functions passing this
value could also be updated, but I'd like to avoid the churn for now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit ef295ecf09)

Conflicts:
	block/blk-mq.c
	include/linux/blk_types.h
	include/linux/blkdev.h
2018-08-24 12:41:33 +03:00
..
00-INDEX Documentation: update missing index files in block/00-INDEX 2016-03-31 00:44:26 -06:00
biodoc.txt block: better op and flags encoding 2018-08-24 12:41:33 +03:00
biovecs.txt Documentation: update notes in biovecs about arbitrarily sized bios 2015-08-13 12:32:07 -06:00
capability.txt genhd: expose AN to user space 2007-05-23 20:14:11 -07:00
cfq-iosched.txt Fix CFQ I/O scheduler parameter name in documentation 2015-12-10 11:26:24 -07:00
cmdline-partition.txt block: change config option name for cmdline partition parsing 2013-09-30 14:31:02 -07:00
data-integrity.txt block: Remove integrity tagging functions 2014-09-27 09:14:50 -06:00
deadline-iosched.txt trivial: Miscellaneous documentation typo fixes 2009-06-12 18:01:47 +02:00
ioprio.txt Update Jens Axboe's email in Documentation/* 2007-10-16 09:59:55 +02:00
null_blk.txt null_blk: register as a LightNVM device 2015-11-16 15:22:28 -07:00
pr.txt block: add an API for Persistent Reservations 2015-10-21 14:46:56 -06:00
queue-sysfs.txt doc: update block/queue-sysfs.txt entries 2016-08-11 09:37:23 -06:00
request.txt Update Jens Axboe's email in Documentation/* 2007-10-16 09:59:55 +02:00
stat.txt [PATCH] block/stat.txt 2006-01-08 20:14:01 -08:00
switching-sched.txt Documentation: drop as block elevator reference in switching-sched.txt 2011-11-04 12:01:48 -07:00
writeback_cache_control.txt block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSH 2016-06-07 13:41:38 -06:00