[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1429387389-17029-1-git-send-email-axboe@fb.com>
Date: Sat, 18 Apr 2015 14:03:02 -0600
From: Jens Axboe <axboe@...com>
To: <axboe@...nel.dk>, <linux-kernel@...r.kernel.org>,
<linux-fsdevel@...r.kernel.org>
CC: <ming.l@....samsung.com>, <adilger@...ger.c>, <david@...morbit.com>
Subject: [PATCH v2] Support for write stream IDs
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists