* Tino Reichardt <[email protected]> wrote:
> * Dave Kleikamp <[email protected]> wrote:
> > On 07/28/2012 06:08 AM, Tino Reichardt wrote:
> > > * Tino Reichardt <[email protected]> wrote:
> > >> > This patch adds support for the two linux interfaces of the
> > >> > discard/TRIM
> > >> > command for SSD devices and sparse/thinly-provisioned LUNs.
> > > Fixed a problem when setting minlen in jfs_ioc_trim().
Oops, setting minlen in jfs_ioc_trim() was again wrong :/
I changed this
if (minlen < 0)
minlen = 1;
to this:
if (minlen <= 0)
minlen = 1;
This is important, since fstrim() sets it to zero.
Fully working patch is located here:
http://www.mcmilk.de/projects/jfs-trim/linux-tree/jfs-trim-2012-08-01_v2.diff
Signed-off-by: Tino Reichardt <[email protected]>
--
regards, TR
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion