scsi: bsg-lib: handle bidi requests without block layer help

We can just stash away the second request in struct bsg_job instead of
using the block layer req->next_rq field, allowing for the eventual removal
of the latter.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Christoph Hellwig
2019-01-29 09:32:03 +01:00
committed by Martin K. Petersen
부모 ccf3209f00
커밋 972248e911
4개의 변경된 파일56개의 추가작업 그리고 61개의 파일을 삭제

파일 보기

@@ -213,7 +213,6 @@ static int sas_bsg_initialize(struct Scsi_Host *shost, struct sas_rphy *rphy)
to_sas_host_attrs(shost)->q = q;
}
blk_queue_flag_set(QUEUE_FLAG_BIDI, q);
return 0;
}