linux/drivers/nvme/target
Matthew Wilcox (Oracle) 5f7136db82 block: Add bio_max_segs
It's often inconvenient to use BIO_MAX_PAGES due to min() requiring the
sign to be the same.  Introduce bio_max_segs() and change BIO_MAX_PAGES to
be unsigned to make it easier for the users.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-02-26 15:49:51 -07:00
..
admin-cmd.c nvmet: add nvmet_req_subsys() helper 2021-02-10 16:38:05 +01:00
configfs.c nvmet: Fix nvmet_is_port_enabled indentation 2021-02-02 10:26:10 +01:00
core.c nvmet: remove else at the end of the function 2021-02-10 16:38:06 +01:00
discovery.c nvmet: make sure discovery change log event is protected 2020-12-01 20:36:37 +01:00
fabrics-cmd.c nvmet: add metadata/T10-PI support 2020-05-27 07:12:40 +02:00
fc.c nvmet-fc: add a missing __rcu annotation to nvmet_fc_tgt_assoc.queues 2021-02-10 16:38:04 +01:00
fcloop.c nvme: constify static attribute_group structs 2021-02-02 10:26:10 +01:00
io-cmd-bdev.c block: Add bio_max_segs 2021-02-26 15:49:51 -07:00
io-cmd-file.c nvmet: use invalid cmd opcode helper 2021-02-10 16:38:05 +01:00
Kconfig nvmet: fix a spelling mistake "incuding" -> "including" in Kconfig 2020-12-01 20:36:37 +01:00
loop.c for-5.11/drivers-2020-12-14 2020-12-16 13:09:32 -08:00
Makefile nvmet: add passthru code to process commands 2020-07-29 07:45:21 +02:00
nvmet.h nvmet: add nvmet_req_subsys() helper 2021-02-10 16:38:05 +01:00
passthru.c block: Add bio_max_segs 2021-02-26 15:49:51 -07:00
rdma.c nvmet-rdma: Fix NULL deref when setting pi_enable and traddr INADDR_ANY 2021-01-14 20:27:34 +01:00
tcp.c for-5.12/drivers-2021-02-17 2021-02-21 11:06:54 -08:00
trace.c nvmet: trace: parse Get LBA Status command in detail 2019-08-29 12:55:01 -07:00
trace.h nvmet: use min of device_path and disk len 2021-02-10 16:38:05 +01:00