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>
Tue, 13 Jun 2017 22:16:03 +0000 (16:16 -0600)
commit26e5343d3cfe7298a01dff84f5f22e4df0a91fae
treef9df082dd17b090cebd0d841315c313eff38d5e4
parentad982590c5aed8c6f00d0091a59ff1921c1b757d
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_stream 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