[PATCH v2] Support for write stream IDs

From: Jens Axboe
Date: Sat Apr 18 2015 - 16:03:29 EST


Hi,

v2 of this posting. Changes since v1:

- Rebased on top of current master.

- Fix EINVAL -> -EINVAL typo.

- Cleanup up BIO_STREAM_OFFSET definition.

- Pack i_streamid and f_streamid better into struct file and struct
inode.

- Add a separate per-file hint, FADV_FILE_STREAMID. This only sets
the write stream on the file, not the inode. FADV_STREAMID sets
the hint both in the file and the inode.

block/bio.c | 2 ++
block/blk-core.c | 3 +++
fs/btrfs/extent_io.c | 1 +
fs/btrfs/inode.c | 1 +
fs/buffer.c | 4 ++--
fs/direct-io.c | 4 ++++
fs/ext4/page-io.c | 1 +
fs/inode.c | 1 +
fs/mpage.c | 1 +
fs/open.c | 1 +
fs/xfs/xfs_aops.c | 1 +
include/linux/blk_types.h | 28 +++++++++++++++++++++++++++-
include/linux/fs.h | 22 ++++++++++++++++++++++
include/uapi/linux/fadvise.h | 3 +++
mm/fadvise.c | 25 +++++++++++++++++++++++++
15 files changed, 95 insertions(+), 3 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/