The fix is in trusty and later, so setting status to fix released. -- 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/1063791
Title: ubuntu kernels < 3.7 do not include DISCARD/TRIM (FITRIM ioctl) for JFS filesystem Status in linux package in Ubuntu: Fix Released Bug description: I backported the (now uptream since linux 3.7) patch to add DISCARD/TRIM to JFS filesystem from https://lkml.org/lkml/2012/10/3/250 to ubuntu kernel < 3.7. It contains two other minor fixes, too. It's quite straightforward, the only change is to exclude one line (a call to dquot_writeback_dquots() in fs/jfs/super.c) that otherwise would pull in endless dependencies to newly added blkdev and quota functions and macros. The patched 3.2 kernel (ubuntu generic 3.2.0-31.50, +JFS TRIM + LZO instead of GZIP, no other changes) is up and running on a SSD, 'fstrim' command works and also mount option 'discard'. With the stock ubuntu 3.2 generic kernel on a SSD and JFS, I had two crashes, both inside JFS kernel code, one was catched (AppArmor?) leaving me with r/o filesystem and the other could not recover. Other than that, I experienced bad interactive performance since I installed the SSD. These have become slightly better with the patch added, but interactivity is still worse than with a rotational HD, e.g. when opening a menu. Will now investigate if running a low latency kernel fixes that. The patch is appended, the Ubuntu KernelGitGuide says clone stock linux from kernel.ubuntu.com, but https://wiki.ubuntu.com/Kernel/Dev/KernelPatches says clone stock linux-2.6 from kernel.org, that's all too confusing. Decide what you want and adjust the docs, please... Now the patch is against ubuntu-3.2. With kind regards, =|o) ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: linux-image-3.2.0-31-generic 3.2.0-31.50 ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28 Uname: Linux 3.2.28 x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 2.0.1-0ubuntu13 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: paul 2554 F.... pulseaudio CRDA: country AM: (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 20), (N/A, 18) (5250 - 5330 @ 20), (N/A, 18), DFS Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf0640000 irq 44' Mixer name : 'Realtek ALC262' Components : 'HDA:10ec0262,10cf0000,00100002 HDA:11c11040,11c10001,00100200' Controls : 29 Simple ctrls : 16 Date: Mon Oct 8 14:45:44 2012 HibernationDevice: RESUME=UUID=42c86022-ee03-45af-bd1e-58be6d2aa822 InstallationMedia: Kubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120820.1) Lsusb: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: FUJITSU SIEMENS LIFEBOOK S7110 PccardctlIdent: Socket 0: no product info available PccardctlStatus: Socket 0: no card ProcEnviron: LANGUAGE=de_DE TERM=xterm-color PATH=(custom, user) LANG=de_DE.UTF-8 SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.28 root=UUID=10e6b6ad-159a-41a1-8efe-04c1504aa075 ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.2.28 N/A linux-backports-modules-3.2.28 N/A linux-firmware 1.79.1 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: linux StagingDrivers: zram UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 09/10/2008 dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd. dmi.bios.version: Version 1.35 dmi.board.name: FJNB1B5 dmi.board.vendor: FUJITSU dmi.board.version: CP279611-02 dmi.chassis.type: 10 dmi.chassis.vendor: FUJITSU SIEMENS dmi.chassis.version: S7110 dmi.modalias: dmi:bvnFUJITSU//PhoenixTechnologiesLtd.:bvrVersion1.35:bd09/10/2008:svnFUJITSUSIEMENS:pnLIFEBOOKS7110:pvr:rvnFUJITSU:rnFJNB1B5:rvrCP279611-02:cvnFUJITSUSIEMENS:ct10:cvrS7110: dmi.product.name: LIFEBOOK S7110 dmi.sys.vendor: FUJITSU SIEMENS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1063791/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp