fs: add support for an inode to carry stream related data
authorJens Axboe <axboe@kernel.dk>
Tue, 13 Jun 2017 20:50:57 +0000 (14:50 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 15 Jun 2017 02:14:35 +0000 (20:14 -0600)
commit4433165183f58bdc57530d053011184a3d16a25b
treef6aaab548cff94fb3db2a90253833781ccc3e379
parent65cc0bdac29fabf1ce932d11d49ff57f26bf6ef8
fs: add support for an inode to carry stream related data

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 <adilger@dilger.ca>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/inode.c
include/linux/fs.h