Re: [PATCH] xfstests: fix device lookup in btrfs/003

2013-09-06 Thread David Sterba
On Tue, Sep 03, 2013 at 06:19:01PM -0400, Jeff Mahoney wrote: The DEVHTL lookup in btrfs/003 is broken. It can only handle full LUNs and not partitions on a disk. Rather than returning 2:0:0:0 for /dev/sdc7, it returns 'block' and we see: ./common/rc: line 2081:

Re: [PATCH] xfstests: fix device lookup in btrfs/003

2013-09-06 Thread Jeff Mahoney
On 9/6/13 10:03 AM, David Sterba wrote: On Tue, Sep 03, 2013 at 06:19:01PM -0400, Jeff Mahoney wrote: The DEVHTL lookup in btrfs/003 is broken. It can only handle full LUNs and not partitions on a disk. Rather than returning 2:0:0:0 for /dev/sdc7, it returns 'block' and we see: ./common/rc:

Re: [PATCH] xfstests: fix device lookup in btrfs/003

2013-09-04 Thread Dave Chinner
Add x...@oss.sgi.com to the cc list. On Tue, Sep 03, 2013 at 06:19:01PM -0400, Jeff Mahoney wrote: The DEVHTL lookup in btrfs/003 is broken. It can only handle full LUNs and not partitions on a disk. Rather than returning 2:0:0:0 for /dev/sdc7, it returns 'block' and we see: ./common/rc:

[PATCH] xfstests: fix device lookup in btrfs/003

2013-09-03 Thread Jeff Mahoney
The DEVHTL lookup in btrfs/003 is broken. It can only handle full LUNs and not partitions on a disk. Rather than returning 2:0:0:0 for /dev/sdc7, it returns 'block' and we see: ./common/rc: line 2081: /sys/class/scsi_device/block/device/delete: No such file or directory If we look up the device