lkml.org 
[lkml]   [2012]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem
> > * Dave Kleikamp <dave.kleikamp@oracle.com> wrote:
> > > On 07/28/2012 06:08 AM, Tino Reichardt wrote:
> > > > * Tino Reichardt <list-linux-fsdevel@mcmilk.de> 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 <list-jfs@mcmilk.de>


The patch is ready, who will submit it into the mainline?


--
regards, TR


\
 
 \ /
  Last update: 2012-08-06 19:42    [W:0.083 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site