lkml.org 
[lkml]   [2016]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.16 253/346] Btrfs: add missing blk_finish_plug in btrfs_sync_log()
    3.16.39-rc1 review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Forrest Liu <forrestl@synology.com>

    commit 3da5ab56482f322a9736c484db8773899c5c731b upstream.

    Add missing blk_finish_plug in btrfs_sync_log()

    Signed-off-by: Forrest Liu <forrestl@synology.com>
    Reviewed-by: David Sterba <dsterba@suse.cz>
    Signed-off-by: Chris Mason <clm@fb.com>
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    fs/btrfs/tree-log.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/fs/btrfs/tree-log.c
    +++ b/fs/btrfs/tree-log.c
    @@ -2600,6 +2600,7 @@ int btrfs_sync_log(struct btrfs_trans_ha
    }

    if (log_root_tree->log_transid_committed >= root_log_ctx.log_transid) {
    + blk_finish_plug(&plug);
    mutex_unlock(&log_root_tree->log_mutex);
    ret = root_log_ctx.log_ret;
    goto out;
    \
     
     \ /
      Last update: 2016-11-14 04:22    [W:14.183 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site