[RFC PATCH] sg3_utils Hybrid Information Log utility

2014-10-29 Thread Jason B. Akers
The following series implements a sg_sat_get_hybrid_log utility allowing users to view the SSHD Hybrid Information Log as defined in the SATA 3.2 standard. --- Kapil Karkra (1): sg3_utils: Added hybrid information log utility src/Makefile.am | 21 ++ src/sg_sat_get_hybrid_

[RFC PATCH] sg3_utils: Added hybrid information log utility

2014-10-29 Thread Jason B. Akers
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 Signed-off-by: Kapil Karkra Signed-off-by: Jason B. Akers --- src/Makefi

[RFC PATCH 2/5] block: ioprio hint to low-level device drivers

2014-10-29 Thread Jason B. Akers
From: Dan Williams The priority in the io_context is consumed by the io scheduler. For caching advice we need the request->ioprio field to be up-to-date. Set the bio ioprio at submit time. Signed-off-by: Dan Williams Signed-off-by: Jason B. Akers --- block/bio.c|1 + block/iopri

[RFC PATCH 4/5] block, mm: Added the necessary plumbing to take ioprio hints down to block layer

2014-10-29 Thread Jason B. Akers
grab_cache_page_write_begin function. the bio_associate_ioprio method walks through all pages and determines the overall best priority to be associated to the bio. The bio carries the io priority further down the IO stack. Signed-off-by: Kapil Karkra Signed-off-by: Jason B. Akers --- block/bio.c

[RFC PATCH 5/5] libata: Enabling Solid State Hybrid Drives (SSHDs) based on SATA 3.2 standard

2014-10-29 Thread Jason B. Akers
From: Jason B. Akers Augment the libata to add support for SSHDs--hard disks with a small embedded NAND memory in them. The hybrid information feature is part of the SATA standard 3.2 that specifies a way for host drivers to pass hints to the drives over the SATA interface to guide the placement

[RFC PATCH 1/5] block, ioprio: include caching advice via ionice

2014-10-29 Thread Jason B. Akers
that a table in the driver is responsible for translating this advice into transport/device specific priority value. Signed-off-by: Kapil Karkra Signed-off-by: Jason B. Akers --- include/linux/ioprio.h | 32 1 file changed, 28 insertions(+), 4 deletions(-)

[RFC PATCH 3/5] block: untangle ioprio from BLK_CGROUP and BLK_DEV_THROTTLING

2014-10-29 Thread Jason B. Akers
From: Dan Williams If BLK_CGROUP is disabled, still enable ionice to set advice on bios. Signed-off-by: Dan Williams Signed-off-by: Jason B. Akers --- block/bio.c | 43 +++- block/blk.h |2 ++ include/linux/bio.h | 68

[RFC PATCH 0/5] Enable use of Solid State Hybrid Drives

2014-10-29 Thread Jason B. Akers
ycles. --- Dan Williams (3): block, ioprio: include caching advice via ionice block: ioprio hint to low-level device drivers block: untangle ioprio from BLK_CGROUP and BLK_DEV_THROTTLING Jason B. Akers (1): libata: Enabling Solid State Hybrid Drives (SSHDs) based on SATA 3.