xfs
[Top] [All Lists]

aborted SCSI commands while discarding/unmapping via mkfs.xfs

To: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Subject: aborted SCSI commands while discarding/unmapping via mkfs.xfs
From: Stefan Priebe <s.priebe@xxxxxxxxxxxx>
Date: Tue, 14 Aug 2012 22:42:21 +0200
Cc: Christoph Hellwig <hch@xxxxxx>, dchinner@xxxxxxxxxx, Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
Hello list,

i'm testing KVM with qemu, libiscsi, virtio-scsi-pci and scsi-general on top of a nexenta storage solution. While doing mkfs.xfs on an already used LUN / block device i discovered that the unmapping / discard commands mkfs.xfs sends take a long time which results in a lot of aborted scsi commands.

Would it make sense to let mkfs.xfs send these unmapping commands in small portations (f.e. 100MB) or is there another problem in the patch to the block device? Any suggestions or ideas?

Thanks!

Greets,
Stefan

<Prev in Thread] Current Thread [Next in Thread>