lkml.org 
[lkml]   [2015]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/6] btrfs: add support for buffered writeback stream ID
    Date
    Signed-off-by: Jens Axboe <axboe@fb.com>
    ---
    fs/btrfs/inode.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
    index d2e732d7af52..804fd6768109 100644
    --- a/fs/btrfs/inode.c
    +++ b/fs/btrfs/inode.c
    @@ -8046,6 +8046,7 @@ static void btrfs_submit_direct(int rw, struct bio *dio_bio,
    atomic_set(&dip->pending_bios, 0);
    btrfs_bio = btrfs_io_bio(io_bio);
    btrfs_bio->logical = file_offset;
    + bio_set_streamid(io_bio, inode_streamid(inode));

    if (write) {
    io_bio->bi_end_io = btrfs_endio_direct_write;
    --
    1.9.1


    \
     
     \ /
      Last update: 2015-03-24 16:41    [W:3.675 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site