Re: [PATCH v3 0/3] Fixes for scsi_mode_sense/select()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021/09/29 13:15, Martin K. Petersen wrote:
> 
> Damien,
> 
>> The first patch in this series is the formet standalone patch titled
>> "scsi: fix scsi_mode_sense()". Patch 2 fixes similar buffer length
>> handling problems found in scsi_mode_select().
>> Patch 3 fixes the use of scsi_mode_sense() in sd.c to ensure that calls
>> are issued with a sensible buffer size for devices that explicitly
>> requested the use of MODE SENSE 10 (e.g. SATA drives on AHCI).
> 
> Applied to 5.16/scsi-staging with some changes. There was some confusion
> between SENSE vs. SELECT in patch #2 in particular.
> 
> I tried to clean up the dbd situation a while back but it fell by the
> wayside:
> 
> https://lore.kernel.org/all/20200325222416.5094-1-martin.petersen@xxxxxxxxxx/

This one looks good to me. Repost it may be ?
I have more patches coming around mode sense to be able to handle sub-pages
(command duration limits and the new ata feature set subpages of the control page).

-- 
Damien Le Moal
Western Digital Research




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux