Hello Joseph, [short summary] I do not follow kernel mailing lists. My infos are from news articles on the internet and the web sites of Tino Reichard and lkml.org. I'm not familiar with linux kernel interna and do not know who is the maintainer of JFS in linux. I trust these, so I can derive: 1. The patch is upstream in linux 3.7 2. The patch is not sent upstream, it is available for git pull (see below). 3. feedback: It works for me; s/o with insight to linux disk quotas has to evaluate if my change is ok if you run the patch on a system w/ quotas enabled. From my limited understanding: In 3.2 and 3.5, there is no dquot_writeback_dquots() and the patch does not alter other lines affecting disk quotas -> I think it's ok to omit the call like I did. If not, one has to do _much_ more work to "downgrade" the patch to 3.2/3.5 kernels. Why not ask Timo or Dave or Wei Yongjun?
[unneccessarily long explanation] I statet clearly in the initial bug description that I am not the author of the patch, these are Tino Reichardt (TRIM), Dave Kleikamp & Wei Yongjun (minor fixes, Dave seems to be kind of maintainer/coordinator) and that the info about the patch is from https://lkml.org/lkml/2012/10/3/250. It is now upstream in Linux 3.7 (news articles say that). All I did was puzzling how to apply ("downgrade") the patch from kernel 3.7 to kernel 3.2, and currently I'm doing that for 3.5, but with low priority, because now I have a stable patched ubuntu-3.2-low_latency kernel with TRIM on a SSD with JFS filesystem up and running. The status is (2nd update): *wonderfull*. It "Just Works (tm)". Google is your friend, you can find some news articles and e-mails concerning this subject (linux JFS TRIM DISCARD) very quickly. I got the patch from git://github.com/kleikamp/linux-shaggy.git tags/jfs-3.7 and the linux source with git from kernel.ubuntu.com like described in https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide: $ git clone git://kernel.ubuntu.com/ubuntu/linux.git $ git clone --reference linux git://kernel.ubuntu.com/ubuntu/ubuntu- precise.git and I set it to my current kernel (Kubuntu 12.04.1 with some backports-ppa): $ git checkout -b Ubuntu-3.2.0-31.50+JFS_TRIM Ubuntu-3.2.0-31.50 (or .51?) Then I applied the patch to find out the call to dquot_writeback_dquots() has to be omited because it pulls in endless dependencies to things not in 3.2, so I edited the patch manually, fixed rejections, etc. pp., and finally let diff produce the patch to be shure it contains no typos. Now that I'm a little bit more familiar with git, the next time I can do that with git for your convenience. With kind regards, -- =|o) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1063791 Title: ubuntu kernels < 3.7 do not include DISCARD/TRIM (FITRIM ioctl) for JFS filesystem To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1063791/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
