Re: use_clustering (sht) bit set to 0 in AHCI ?

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

 



Jens Axboe wrote:
On Mon, May 21 2007, Jeff Garzik wrote:
Jens Axboe wrote:
ahci has always had clustering disabled, perhaps Jeff can expand on why?

Just historical reasons. libata had clustering disabled by default in the beginning, for all drivers. Then we enabled it globally by changing the value of ATA_SHT_USE_CLUSTERING... but apparently forgot to change drivers which use their own value rather than ATA_SHT_USE_CLUSTERING.

Feel free to submit a patch turning it on...

The below works for me, but it's only lightly tested. I booted it up and
ran some large IO tests, I've verified really large IO sizes as well
(using blktrace, I've verified ios up to 9216KiB being accepted and
completed by the drive).

-----

From: Jens Axboe <jens.axboe@xxxxxxxxxx>

ahci: enable sg segment clustering

The specification states that ahci supports segments up to 4MiB in size,
so enable clustering.

Signed-off-by: Jens Axboe <jens.axboe@xxxxxxxxxx>

applied


-
To unsubscribe from this list: 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