mbox series

[0/2] block,scsi: BLK_STS_AGAIN clarification

Message ID 20220524055631.85480-1-hare@suse.de (mailing list archive)
Headers show
Series block,scsi: BLK_STS_AGAIN clarification | expand

Message

Hannes Reinecke May 24, 2022, 5:56 a.m. UTC
Hi all,

BLK_STS_AGAIN should only be used under very specify circumstances,
so we should better document that. And modify the SCSI midlayer to
not return it, of course.

As usual, comments and reviews are welcome.

Hannes Reinecke (2):
  block: document BLK_STS_AGAIN usage
  scsi: return BLK_STS_TRANSPORT for ALUA transitioning

 drivers/scsi/scsi_lib.c   | 2 +-
 include/linux/blk_types.h | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

Comments

Jens Axboe May 28, 2022, 2:38 a.m. UTC | #1
On Tue, 24 May 2022 07:56:29 +0200, Hannes Reinecke wrote:
> BLK_STS_AGAIN should only be used under very specify circumstances,
> so we should better document that. And modify the SCSI midlayer to
> not return it, of course.
> 
> As usual, comments and reviews are welcome.
> 
> Hannes Reinecke (2):
>   block: document BLK_STS_AGAIN usage
>   scsi: return BLK_STS_TRANSPORT for ALUA transitioning
> 
> [...]

Applied, thanks!

[1/2] block: document BLK_STS_AGAIN usage
      commit: 98d40e76652e9aeb3aec4065f600d633ed335e94

Best regards,