Re: [PATCH v7 0/6] libata-scsi: multi-LUN ATAPI device support

From: Damien Le Moal

Date: Fri Jul 17 2026 - 23:09:34 EST


On 6/11/26 11:43, Phil Pemberton wrote:
> Some ATAPI devices expose more than one logical unit behind a single ATA
> target: Panasonic/COMPAQ PD/CD combo drives (LUN 0 = CD-ROM, LUN 1 =
> PD), and Nakamichi CD changers (one LUN per disc slot, up to 7).
>
> libata has historically hard-coded shost->max_lun = 1, so the SCSI
> layer never scans past LUN 0 on any ATA-attached device. This series
> lifts that restriction for ATAPI devices gated by BLIST_FORCELUN.

Phil,

I lost track of this series.
Could you resend the latest rebased on for-next with review tags etc added?

--
Damien Le Moal
Western Digital Research