]> git.baikalelectronics.ru Git - kernel.git/commit
block: clarify documentation for blk_{start|finish}_plug
authorJeff Moyer <jmoyer@redhat.com>
Tue, 8 Jan 2019 21:57:34 +0000 (16:57 -0500)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Jan 2019 03:49:46 +0000 (20:49 -0700)
commit60fed9f5d707fa1228d35589a8bec8d1205d0fdb
tree2197e07a0186f0da94970382fbeb85d5b11ebe00
parentdaef6ff52b53c2c4488a49f2658ce518d4c61815
block: clarify documentation for blk_{start|finish}_plug

There was some confusion about what these functions did.  Make it clear
that this is a hint for upper layers to pass to the block layer, and
that it does not guarantee that I/O will not be submitted between a
start and finish plug.

Reported-by: "Darrick J. Wong" <darrick.wong@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c