Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1557521

RE: [Regression] fstrim hangs on Hyper-V: caused by "block: improve handling of the magic discard payload"

From Dexuan Cui <decui@microsoft.com>
Newsgroups linux.kernel
Subject RE: [Regression] fstrim hangs on Hyper-V: caused by "block: improve handling of the magic discard payload"
Date 2017-01-12 16:40 +0100
Message-ID <sYPDR-5Es-47@gated-at.bofh.it> (permalink)
References <sYLgS-2XE-5@gated-at.bofh.it> <sYNVn-4Au-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> From: Christoph Hellwig [mailto:hch@lst.de]
> Sent: Thursday, January 12, 2017 21:44
> To: Dexuan Cui <decui@microsoft.com>
> Cc: Christoph Hellwig <hch@lst.de>; linux-block@vger.kernel.org; Jens Axboe
> <axboe@fb.com>; Vitaly Kuznetsov <vkuznets@redhat.com>; linux-
> kernel@vger.kernel.org; KY Srinivasan <kys@microsoft.com>; Chris Valean
> (Cloudbase Solutions SRL) <v-chvale@microsoft.com>
> Subject: Re: [Regression] fstrim hangs on Hyper-V: caused by "block: improve
> handling of the magic discard payload"
> 
> Hi Dexuan,
> 
> sorry for dropping the ball on the previous private report, I hoped
> I could get my hands on a Hyper-V VM and reproduce it myself, but
> that has obviously not happened.
> 
> Can you send me the output of the provisioning_mode file for the
> scsi disk in question to get started?

Hi Christoph,
Thank you very much for the help! 

The file just shows "unmap":

root@decui-u1604:~# cd /sys/class/scsi_disk/2\:0\:0\:0
root@decui-u1604:/sys/class/scsi_disk/2:0:0:0# ls
allow_restart  cache_type      device  manage_start_stop           max_write_same_blocks  protection_mode  provisioning_mode  thin_provisioning
app_tag_own    deferred_probe  FUA     max_medium_access_timeouts  power                  protection_type  subsystem          uevent
root@decui-u1604:/sys/class/scsi_disk/2:0:0:0# cat provisioning_mode
unmap

I'm ready to provide any info you need. :-)

Thanks,
-- Dexuan

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[Regression] fstrim hangs on Hyper-V: caused by "block: improve  handling of the magic discard payload" Dexuan Cui <decui@microsoft.com> - 2017-01-12 12:00 +0100
  Re: [Regression] fstrim hangs on Hyper-V: caused by "block:         improve handling of the magic discard payload" Christoph Hellwig <hch@lst.de> - 2017-01-12 14:50 +0100
    RE: [Regression] fstrim hangs on Hyper-V: caused by "block:    improve  handling of the magic discard payload" Dexuan Cui <decui@microsoft.com> - 2017-01-12 16:40 +0100
      Re: [Regression] fstrim hangs on Hyper-V: caused by "block:         improve handling of the magic discard payload" Christoph Hellwig <hch@lst.de> - 2017-01-12 17:00 +0100
        RE: [Regression] fstrim hangs on Hyper-V: caused by "block:    improve  handling of the magic discard payload" Dexuan Cui <decui@microsoft.com> - 2017-01-12 17:40 +0100

csiph-web