kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #175654
[Bug 1576451] Re: Linux 4.4.0: wrong value for /sys/*/queue/discard_granularity
** Changed in: linux (Ubuntu)
Importance: Undecided => Medium
** Tags added: kernel-da-key
** Changed in: linux (Ubuntu)
Status: Confirmed => Triaged
--
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/1576451
Title:
Linux 4.4.0: wrong value for /sys/*/queue/discard_granularity
Status in linux package in Ubuntu:
Triaged
Status in linux package in Fedora:
Unknown
Bug description:
With kernel 4.4.0-21.37 in xenial and yakkety, the value of
queue/discard_granularity is set to '1' instead of to a multiple of
the block size as expected.
$ cat /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/discard_granularity
1
$
This is at odds with the values on ramdisks:
$ cat /sys/devices/virtual/block/ram0/queue/discard_granularity
4096
$
And with lvm2 2.02.150-1ubuntu1, currently in yakkety-proposed, this
always results in an error message from lvremove if discard is
configured, and discard is not actually used; e.g., from my schroot
output:
E: 05lvm: WARNING: Device /dev/sda7: queue/discard_granularity is 1
and is unexpectedly less than sector.
This bug has also been reported against Linux 4.4 in Fedora.
https://bugzilla.redhat.com/show_bug.cgi?id=1314687
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-21-generic 4.4.0-21.37
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: vorlon 3681 F.... pulseaudio
/dev/snd/pcmC0D0p: vorlon 3681 F...m pulseaudio
/dev/snd/controlC0: vorlon 3681 F.... pulseaudio
CurrentDesktop: Unity
Date: Thu Apr 28 16:39:54 2016
HibernationDevice: RESUME=UUID=6df76279-19ea-45a4-bec9-e4fdc858729a
InstallationDate: Installed on 2010-09-24 (2043 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
MachineType: LENOVO 2306CTO
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-21-generic root=/dev/mapper/hostname-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-4.4.0-21-generic N/A
linux-backports-modules-4.4.0-21-generic N/A
linux-firmware 1.157
SourcePackage: linux
UpgradeStatus: Upgraded to xenial on 2016-04-15 (13 days ago)
dmi.bios.date: 10/25/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ET97WW (2.57 )
dmi.board.asset.tag: Not Available
dmi.board.name: 2306CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG2ET97WW(2.57):bd10/25/2013:svnLENOVO:pn2306CTO:pvrThinkPadX230:rvnLENOVO:rn2306CTO:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2306CTO
dmi.product.version: ThinkPad X230
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1576451/+subscriptions
References