block: document BLK_STS_AGAIN usage
authorHannes Reinecke <hare@suse.de>
Tue, 24 May 2022 05:56:30 +0000 (07:56 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 28 May 2022 02:38:17 +0000 (20:38 -0600)
commit98d40e76652e9aeb3aec4065f600d633ed335e94
treeeb5e879fc98571e1d791726027f3e230a5534d50
parent403d50341cce6b5481a92eb481e6df60b1f49b55
block: document BLK_STS_AGAIN usage

BLK_STS_AGAIN should only be used if RQF_NOWAIT is set and the bio
would block. So we'd better document that to avoid accidental misuse.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220524055631.85480-2-hare@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk_types.h