Add support for per-file/inode stream ID
authorJens Axboe <axboe@fb.com>
Wed, 2 Mar 2016 15:24:20 +0000 (08:24 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 7 Mar 2016 15:30:49 +0000 (08:30 -0700)
commit0c635897e901ae395c9bc4ea1d3cef868c88a235
tree01c262410110bd582c8d3587745aea08f72b0ec0
parent6ae91d8e87bd4edbc0b955562f882f10997b1565
Add support for per-file/inode stream ID

Writing on flash devices can be much more efficient, if we can
inform the device what kind of data can be grouped together. If
the device is able to group data together with similar lifetimes,
then it can be more efficient in garbage collection. This, in turn,
leads to lower write amplification, which is a win on both device
wear and performance.

Signed-off-by: Jens Axboe <axboe@fb.com>
fs/inode.c
fs/open.c
include/linux/fs.h