[PATCH 0/4] libata: Support SATA attached via SAS

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

 



Jeff,

Here are the remaining patches to my patchset to allow SAS HBAs to
use libata to control attached SATA devices. You had two concerns
in the last round of patches, which I have tried to address here.

1. Per device max command length checking
   - You were concerned with adding an additional check to the
     hot path. To address this I moved the check so that it is
     now only made for SAS users, which is really the only users that
     need it since existing SATA users have host->max_cmd_len
     protecting them.

2. Add ata_host_flags
   - You thought there might be a need to carry some cross port state.
     To resolve this I added a new API: ata_host_set_init. Callers
     of ata_sas_port_alloc must now pass their host_set pointer as the
     first argument. This removes the need for the patch you objected to
     and allows for a cross port state if needed.



-- 
Brian King
eServer Storage I/O
IBM Linux Technology Center
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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