Re: [PATCH 03/11] fs: add support for an inode to carry stream related data

2017-06-15 Thread Jens Axboe
On 06/15/2017 02:17 AM, Christoph Hellwig wrote: > On Wed, Jun 14, 2017 at 09:45:04PM -0600, Jens Axboe wrote: >> No functional changes in this patch, just in preparation for >> allowing applications to pass in hints about data life times >> for writes. >> >> Pack the i_write_hint field into a 2-by

Re: [PATCH 03/11] fs: add support for an inode to carry stream related data

2017-06-15 Thread Christoph Hellwig
On Wed, Jun 14, 2017 at 09:45:04PM -0600, Jens Axboe wrote: > No functional changes in this patch, just in preparation for > allowing applications to pass in hints about data life times > for writes. > > Pack the i_write_hint field into a 2-byte hole, so we don't grow > the size of the inode. A u

[PATCH 03/11] fs: add support for an inode to carry stream related data

2017-06-14 Thread Jens Axboe
No functional changes in this patch, just in preparation for allowing applications to pass in hints about data life times for writes. Pack the i_write_hint field into a 2-byte hole, so we don't grow the size of the inode. Reviewed-by: Andreas Dilger Signed-off-by: Jens Axboe --- fs/inode.c

Re: [PATCH 03/11] fs: add support for an inode to carry stream related data

2017-06-14 Thread Jens Axboe
On 06/14/2017 02:25 PM, Christoph Hellwig wrote: > On Wed, Jun 14, 2017 at 01:05:26PM -0600, Jens Axboe wrote: >> No functional changes in this patch, just in preparation for >> allowing applications to pass in hints about data life times >> for writes. >> >> Pack the i_stream field into a 2-byte h

Re: [PATCH 03/11] fs: add support for an inode to carry stream related data

2017-06-14 Thread Christoph Hellwig
On Wed, Jun 14, 2017 at 01:05:26PM -0600, Jens Axboe wrote: > No functional changes in this patch, just in preparation for > allowing applications to pass in hints about data life times > for writes. > > Pack the i_stream field into a 2-byte hole, so we don't grow > the size of the inode. Can't w

[PATCH 03/11] fs: add support for an inode to carry stream related data

2017-06-14 Thread Jens Axboe
No functional changes in this patch, just in preparation for allowing applications to pass in hints about data life times for writes. Pack the i_stream field into a 2-byte hole, so we don't grow the size of the inode. Reviewed-by: Andreas Dilger Signed-off-by: Jens Axboe --- fs/inode.c