[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-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux