Re: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-08-06 Thread Tino Reichardt
> > * Dave Kleikamp wrote: > > > On 07/28/2012 06:08 AM, Tino Reichardt wrote: > > > > * Tino Reichardt 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

Re: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-08-06 Thread Tino Reichardt
* Dave Kleikamp dave.kleik...@oracle.com wrote: On 07/28/2012 06:08 AM, Tino Reichardt wrote: * Tino Reichardt list-linux-fsde...@mcmilk.de wrote: This patch adds support for the two linux interfaces of the discard/TRIM command for SSD devices and sparse/thinly-provisioned

Re: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-08-01 Thread Tino Reichardt
* Tino Reichardt wrote: > * Dave Kleikamp wrote: > > On 07/28/2012 06:08 AM, Tino Reichardt wrote: > > > * Tino Reichardt wrote: > > >> > This patch adds support for the two linux interfaces of the > > >> > discard/TRIM > > >> > command for SSD devices and sparse/thinly-provisioned LUNs. > > >

Re: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-08-01 Thread Dave Kleikamp
On 08/01/2012 02:29 PM, Tino Reichardt wrote: > * Dave Kleikamp wrote: >> On 07/28/2012 06:08 AM, Tino Reichardt wrote: >>> + tt->nblocks = 0; /* mark the current end */ >>> + for (tt = totrim; tt->nblocks != 0; tt++) { >>> + if (!(JFS_SBI(sb)->flag & JFS_DISCARD)) { >>> +

Re: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-08-01 Thread Tino Reichardt
* Dave Kleikamp wrote: > On 07/28/2012 06:08 AM, Tino Reichardt wrote: > > * Tino Reichardt 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

Re: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-08-01 Thread Tino Reichardt
* Dave Kleikamp dave.kleik...@oracle.com wrote: On 07/28/2012 06:08 AM, Tino Reichardt wrote: * Tino Reichardt list-linux-fsde...@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

Re: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-08-01 Thread Dave Kleikamp
On 08/01/2012 02:29 PM, Tino Reichardt wrote: * Dave Kleikamp dave.kleik...@oracle.com wrote: On 07/28/2012 06:08 AM, Tino Reichardt wrote: + tt-nblocks = 0; /* mark the current end */ + for (tt = totrim; tt-nblocks != 0; tt++) { + if (!(JFS_SBI(sb)-flag JFS_DISCARD)) { +

Re: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-08-01 Thread Tino Reichardt
* Tino Reichardt list-linux-fsde...@mcmilk.de wrote: * Dave Kleikamp dave.kleik...@oracle.com wrote: On 07/28/2012 06:08 AM, Tino Reichardt wrote: * Tino Reichardt list-linux-fsde...@mcmilk.de wrote: This patch adds support for the two linux interfaces of the discard/TRIM

Re: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-07-31 Thread Dave Kleikamp
On 07/28/2012 06:08 AM, Tino Reichardt wrote: > * Tino Reichardt 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(). Overall, I approve of

Re: [Jfs-discussion] [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-07-31 Thread Dave Kleikamp
On 07/28/2012 06:08 AM, Tino Reichardt wrote: * Tino Reichardt list-linux-fsde...@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().

Re: [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-07-28 Thread Tino Reichardt
* Tino Reichardt 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(). Signed-off-by: Tino Reichardt -- regards, TR diff -X exclude -urpN

Re: [PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-07-28 Thread Tino Reichardt
* Tino Reichardt list-linux-fsde...@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(). Signed-off-by: Tino Reichardt list-...@mcmilk.de --

[PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-07-26 Thread Tino Reichardt
This patch adds support for the two linux interfaces of the discard/TRIM command for SSD devices and sparse/thinly-provisioned LUNs. JFS will support batched discard via FITRIM ioctl and online discard with the discard mount option. I also think that a short description of the FITRIM ioctl

[PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-07-26 Thread Tino Reichardt
This patch adds support for the two linux interfaces of the discard/TRIM command for SSD devices and sparse/thinly-provisioned LUNs. JFS will support batched discard via FITRIM ioctl and online discard with the discard mount option. I also think that a short description of the FITRIM ioctl