Write cache and surface error behaviour

2014-07-20 Thread joystick
Hello list, I don't really understand this disk cache thing. Suppose a disk with write cache enabled of writeback type: Linux receives a write completed notification (a message from the disk) when the data has reached the cache of the disk. Correct? At that point it is not considered an in-flig

Question on TCQ/NCQ and write cache

2013-10-26 Thread joystick
Hello list, did I understand correctly that the writes are acknowledged by the HDDs/SSDs when the data is on the write cache, and not on the platters, and this is independent from the current setting of NCQ (enabled / disabled)? So the NCQ being enabled only allows to save the latency of the tr

Using SCSI timeouts in place of ERC

2012-08-20 Thread joystick
Hello lists I am wondering what kind of support I can get from linux for "inexpensive" (SATA over SAS HBA in my case) disks on RAID ... Inexpensive non-raid-edition disks haven't got settable ERC timeout (scterc) and can take very long time to respond in case of unreadable sector However I see