[PATCH 1/2] scsi: convert unrecovered read error to -EILSEQ

2017-04-03 Thread Dmitry Monakhov
--direct=1 --group_reporting --rw=read --bs=1M \ --iodepth=16 --size=1G --filesize=1G --name=/dev/sdb --name /dev/sdc More info about URE probability here: https://plus.google.com/101761226576930717211/posts/Pctq7kk1dLL Signed-off-by: Dmitry Monakhov --- drivers/scsi/scsi_lib.c | 13 + 1 fi

[PATCH 2/2] block: Improve error handling verbosity

2017-04-03 Thread Dmitry Monakhov
EILSEQ is returned due to internal csum error on disk/fabric, let's add special message to distinguish it from others. Also dump original numerical error code. Signed-off-by: Dmitry Monakhov --- block/blk-core.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/

Re: [PATCH 0/3] Improve block device testing coverage

2017-03-31 Thread Dmitry Monakhov
Eryu Guan writes: > On Fri, Mar 31, 2017 at 10:43:19AM +0300, Dmitry Monakhov wrote: >> Christoph Hellwig writes: >> >> > On Thu, Mar 30, 2017 at 05:19:01PM +0400, Dmitry Monakhov wrote: >> >> During LSFMM we have discussed how to test lower-backend of

Re: [PATCH 0/3] Improve block device testing coverage

2017-03-31 Thread Dmitry Monakhov
Christoph Hellwig writes: > On Thu, Mar 30, 2017 at 05:19:01PM +0400, Dmitry Monakhov wrote: >> During LSFMM we have discussed how to test lower-backend of linux IO-stack. >> Common opinion was that xfstests is the most obvious solution which cover >> most of use cases

[PATCH 2/3] add test: generic/420 check information lead for lio-fileio

2017-03-30 Thread Dmitry Monakhov
Signed-off-by: Dmitry Monakhov --- tests/generic/420 | 77 +++ tests/generic/420.out | 2 ++ tests/generic/group | 1 + 3 files changed, 80 insertions(+) create mode 100755 tests/generic/420 create mode 100644 tests/generic/420.out diff

[PATCH 1/3] add lio-target helpers

2017-03-30 Thread Dmitry Monakhov
Linux-IO Target is very good framework for testing block backend. It is more flexible than scsi_debug. http://linux-iscsi.org/wiki/LIO Signed-off-by: Dmitry Monakhov --- common/config| 2 + common/liotarget | 111 +++ 2 files changed

[PATCH 3/3] add test: generic/421 basic blockdev T10-DIF-TYPE1 integrity checks

2017-03-30 Thread Dmitry Monakhov
of xfs_io because even if pread failed, xfs_io still exit with success, BUG? Signed-off-by: Dmitry Monakhov --- tests/generic/421 | 136 ++ tests/generic/421.out | 16 ++ tests/generic/group | 1 + 3 files changed, 153 insertions(+) create m

[PATCH 0/3] Improve block device testing coverage

2017-03-30 Thread Dmitry Monakhov
During LSFMM we have discussed how to test lower-backend of linux IO-stack. Common opinion was that xfstests is the most obvious solution which cover most of use cases filesystem care about. I'm working on integration T10-DIF/DIF data integrity features to ext4, for that reason we need to be shure

HDD Unrecovered readerror issue

2016-07-20 Thread Dmitry Monakhov
Drive:WDC WD1003FZEX-00MK2A0 I have got this in logs: ata1.00: failed command: READ FPDMA QUEUED ata1.00: cmd 60/a0:a0:f0:c0:c5/00:00:04:00:00/40 tag 20 ncq 81920 in res 41/40:00:88:c1:c5/00:00:04:00:00/00 Emask 0x409 (media error) ata1.00: status: { DRDY ERR } ata1.00: error: { UNC } ata1.00: c