Comment 15 for bug 1157952

Revision history for this message
K Y Srinivasan (kys) wrote :

This is a known bug. Our host cannot handle the WRITE_SAME command. The fix for this bug has already been checked into the upstream kernel:

commit 3e8f4f4065901c8dfc51407e1984495e1748c090
Author: Olaf Hering <email address hidden>
Date: Thu Feb 21 12:04:51 2013 -0800

    [SCSI] storvsc: avoid usage of WRITE_SAME

    Set scsi_device->no_write_same because the host does not support it.
    Also blacklist WRITE_SAME to avoid (and log) accident usage.

    If the guest uses the ext4 filesystem, storvsc hangs while it prints
    these messages in an endless loop:
    ...
    [ 161.459523] hv_storvsc vmbus_0_1: cmd 0x41 scsi status 0x2 srb status 0x6
    [ 161.462157] sd 2:0:0:0: [sda]
    [ 161.463135] Sense Key : No Sense [current]
    [ 161.464983] sd 2:0:0:0: [sda]
    [ 161.465899] Add. Sense: No additional sense information
    [ 161.468211] hv_storvsc vmbus_0_1: cmd 0x41 scsi status 0x2 srb status 0x6
    [ 161.475766] sd 2:0:0:0: [sda]
    [ 161.476728] Sense Key : No Sense [current]
    [ 161.478284] sd 2:0:0:0: [sda]
    [ 161.479441] Add. Sense: No additional sense information