← Back to team overview

kernel-packages team mailing list archive

[Bug 1406867] Re: Hyper-V TRIM Feature Broken in current LTS trusty kernel

 

We are in a bit of a mess here.  To clean this up and end up with a
consistant fix applied to all the prime releases I am submitting patch
kits to apply this fix for Trusty, and revert the current fix and apply
this to Utopic.  I have also applied this fix to both Vivid v3.18 and
v3.19 based kernels going forward.  Once this has all made it through
process we should have a single common fix on all releases Trusty and
later.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1406867

Title:
  Hyper-V TRIM Feature Broken in current LTS trusty kernel

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Trusty:
  In Progress
Status in linux source package in Utopic:
  In Progress
Status in linux source package in Vivid:
  Fix Committed

Bug description:
  The TRIM/UNMAP feature is broken in the current trusty kernel with
  Hyper-V because of the reversion of this commit:

  http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-
  trusty.git;a=commit;h=81a73bce0c7b86fbf51004cb171387e73e082784

  However a proposed storvsc patch has been submitted to the upstream
  kernel mailing list which could be found here:

  https://patchwork.kernel.org/patch/5503381/

  In Hyper-V TRIM/UNMAP allows the user to reclaim allocated storage that is no longer in use inside a thin provisioned VHDX volume.
  --- 
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Jan  1 03:42 seq
   crw-rw---- 1 root audio 116, 33 Jan  1 03:42 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  CurrentDmesg: [   10.846694] init: plymouth-upstart-bridge main process ended, respawning
  DistroRelease: Ubuntu 14.04
  IwConfig: Error: [Errno 2] No such file or directory
  Lspci: Error: [Errno 2] No such file or directory
  Lsusb: Error: [Errno 2] No such file or directory
  MachineType: Microsoft Corporation Virtual Machine
  Package: linux (not installed)
  PciMultimedia:
   
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-43-generic root=/dev/mapper/trusty--201412122541-root ro quiet elevator=noop video=hyperv_fb:800x600 splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-43-generic N/A
   linux-backports-modules-3.13.0-43-generic  N/A
   linux-firmware                             N/A
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  trusty
  Uname: Linux 3.13.0-43-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True
  dmi.bios.date: 05/23/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 090006
  dmi.board.name: Virtual Machine
  dmi.board.vendor: Microsoft Corporation
  dmi.board.version: 7.0
  dmi.chassis.asset.tag: 3060-1254-0945-5202-9816-4673-85
  dmi.chassis.type: 3
  dmi.chassis.vendor: Microsoft Corporation
  dmi.chassis.version: 7.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr090006:bd05/23/2012:svnMicrosoftCorporation:pnVirtualMachine:pvr7.0:rvnMicrosoftCorporation:rnVirtualMachine:rvr7.0:cvnMicrosoftCorporation:ct3:cvr7.0:
  dmi.product.name: Virtual Machine
  dmi.product.version: 7.0
  dmi.sys.vendor: Microsoft Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406867/+subscriptions


References