lkml.org 
[lkml]   [2015]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2] Support for write stream IDs
Date
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(-)




\
 
 \ /
  Last update: 2015-04-18 22:41    [W:0.069 / U:1.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site