RE: [RFC PATCH] sg3_utils: Added hybrid information log utility
From: Akers, Jason B
Date: Tue Nov 25 2014 - 14:14:53 EST
Hi Phillip,
It turns out that this patch was based on an old github repository that doesn't appear to be updated. Doug Gilbert reached out after the initial RFC and directed us to his page (http://sg.danny.cz/sg/) where he has updated sg3_utils code.
As we continue to work through the feedback from our SSHD kernel patches, I'm going to follow up with Doug again on sg3_utils.
> -----Original Message-----
> From: Phillip Susi [mailto:psusi@xxxxxxxxxx]
> Sent: Monday, November 24, 2014 4:34 PM
> To: Akers, Jason B; linux-ide@xxxxxxxxxxxxxxx
> Cc: Karkra, Kapil; Williams, Dan J; linux-kernel@xxxxxxxxxxxxxxx;
> dgilbert@xxxxxxxxxxxx
> Subject: Re: [RFC PATCH] sg3_utils: Added hybrid information log utility
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 10/29/2014 03:57 PM, Jason B. Akers wrote:
> > From: Kapil Karkra <kapil.karkra@xxxxxxxxx>
> >
> > A solid state hybrid drive (SSHD) is a hard drive with a small
> > embedded NAND. Host drivers can manage this NAND using the
> commands
> > defined by SATA 3.2 standard. One SATA command that provides
> > visibility into the SSHD's cache behavior is get hybrid log command.
> > This augmentation allows users to issue the command as
> > follows:
> >
> > sg_sat_get_hybrid_log /dev/sdc assuming /dev/sdc is an SSHD.
> >
> > patch applies to the following sourcebase from where to clone:
> > https://github.com/hreinecke/sg3_utils.git
>
> I cloned that repo and the patch does not apply cleanly. git am -3 says the
> referenced blobs are not found and it has conflicts in src/Makefile.am. I
> manually fixed that up and then it fails to link due to unresolved externals.
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQEcBAEBCgAGBQJUc85UAAoJENRVrw2cjl5RR3YIAJOF0fcTkF5pM0OIA87hK8k
> 8
> ujwflBTy66ZbPzXMD97cTGYQ6gPp3UCeT/ZcElBfrGGAuD5u/ETXMJY7lqAZgYt
> K
> bELPv6oLhz3ya2IO442sUlRYO4dVfwhsnak+2rLiQkXCy4WKSJ1EYiMIP/VHj8ne
> 5e8VYkuc0KamKjvT4v6EwJ7tM0blfJbYgmFGruIxOSgCAo94Zp9thAcctb9PbRex
> HnPTcnw5cI1sCoLf5fJafhc9w/1H45WjJTnGF7zs4hq/GGsYCwryvI0ovwAzU9ST
> R3jRvE+70oiyQDsj9EBak63hRYIAd8QzQ3TkCjaM5E1XHSU7vTnxvxAjKb4ZyF4=
> =a8Vh
> -----END PGP SIGNATURE-----