OpenCloudOS-Kernel/drivers/memstick/core
Christoph Hellwig e806402130 block: split out request-only flags into a new namespace
A lot of the REQ_* flags are only used on struct requests, and only of
use to the block layer and a few drivers that dig into struct request
internals.

This patch adds a new req_flags_t rq_flags field to struct request for
them, and thus dramatically shrinks the number of common requests.  It
also removes the unfortunate situation where we have to fit the fields
from the same enum into 32 bits for struct bio and 64 bits for
struct request.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-10-28 08:45:17 -06:00
..
Kconfig memstick: add support for legacy memorysticks 2013-09-11 15:59:35 -07:00
Makefile memstick: add support for legacy memorysticks 2013-09-11 15:59:35 -07:00
memstick.c tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
ms_block.c block: split out request-only flags into a new namespace 2016-10-28 08:45:17 -06:00
ms_block.h memstick: trivial fix of spelling mistake on management 2016-04-28 10:58:33 +02:00
mspro_block.c block: split out request-only flags into a new namespace 2016-10-28 08:45:17 -06:00