mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 01:08:50 +00:00
Merge remote-tracking branch 'mkp-scsi/4.5/scsi-fixes' into fixes
This commit is contained in:
commit
6344a5cd3e
@ -1,5 +1,7 @@
|
||||
config SCSI_HISI_SAS
|
||||
tristate "HiSilicon SAS"
|
||||
depends on HAS_DMA
|
||||
depends on ARM64 || COMPILE_TEST
|
||||
select SCSI_SAS_LIBSAS
|
||||
select BLK_DEV_INTEGRITY
|
||||
help
|
||||
|
@ -2893,7 +2893,7 @@ static int sd_revalidate_disk(struct gendisk *disk)
|
||||
sdkp->opt_xfer_blocks <= SD_DEF_XFER_BLOCKS &&
|
||||
sdkp->opt_xfer_blocks * sdp->sector_size >= PAGE_CACHE_SIZE)
|
||||
rw_max = q->limits.io_opt =
|
||||
logical_to_sectors(sdp, sdkp->opt_xfer_blocks);
|
||||
sdkp->opt_xfer_blocks * sdp->sector_size;
|
||||
else
|
||||
rw_max = BLK_DEF_MAX_SECTORS;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user