]> git.baikalelectronics.ru Git - kernel.git/commit
block: improve the submit_bio and generic_make_request documentation
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Apr 2020 11:27:53 +0000 (13:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 29 Apr 2020 15:33:26 +0000 (09:33 -0600)
commita420c5e714f58c5769d78e2b39c1599a7af9d743
tree14b5a086a61b7db16a138b89a18c24d8fb6d870c
parent8c6fa6715c8b20c31b3134bc0a570a72b535c264
block: improve the submit_bio and generic_make_request documentation

The current documentation is a little weird, as it doesn't clearly
explain which function to use, and also has the guts of the information
on generic_make_request, which is the internal interface for stacking
drivers.

Fix this up by properly documenting submit_bio, and only documenting
the differences and the use case for generic_make_request.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c