Re: [PATCH #upstream-fixes] sata_mv: don't issue two DMA commands concurrently

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

 



On Wed, Aug 13, 2008 at 8:05 AM, Artem Bokhan <aptem@xxxxxx> wrote:
> When I run 'dd if=/dev/sda of=/dev/null skip=9700 bs=1M' and it meets bad
> block, it takes about
> '/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:02.0/host4/target4:0:0/4:0:0:0/timeout
> + about 10 seconds' to determine I/O error. Until that IO to device is
> locked, as I understand. I want to reduce the time of lock as  much as
> possible.
>
> dd: reading `/dev/sda': Input/output error
> 240+1 records in
> 240+1 records out
> 252575744 bytes (253 MB) copied, 13.7833 s, 18.3 MB/s
>

Artem,

I'm not sure what your goal is but you might find it interesting that
"Enterprise" versions of some of the drives have fast fail logic built
into them.  ie. They don't internally retry on medium errors.

As I understand it, the concept is if you have a raid setup, you don't
want to waste time retrying a read.  It is better to fail the read
ASAP and get the data from another source.

Greg
-- 
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
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