From patchwork Wed Jun 14 19:05:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Axboe X-Patchwork-Id: 9787281 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CF7F860325 for ; Wed, 14 Jun 2017 19:06:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2CF323D5E for ; Wed, 14 Jun 2017 19:06:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B7BEB268AE; Wed, 14 Jun 2017 19:06:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ADB0123D5E for ; Wed, 14 Jun 2017 19:06:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752099AbdFNTF7 (ORCPT ); Wed, 14 Jun 2017 15:05:59 -0400 Received: from mail-it0-f41.google.com ([209.85.214.41]:35800 "EHLO mail-it0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751742AbdFNTFy (ORCPT ); Wed, 14 Jun 2017 15:05:54 -0400 Received: by mail-it0-f41.google.com with SMTP id m62so5880594itc.0 for ; Wed, 14 Jun 2017 12:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TMsk9pfgEaK6OdFyGdWCMhTxxFoBwNLqpHzIuxjSu/Q=; b=xYgFnHKbTE0buTqiWWcsqSr8Ak0IL505sAcLIuOYC5Eq22CNkndbVlLqt6yJnMCh9z JrfmoUtyN0US7fj/qFYpsBsUcwRiL76QzkRlWd7bdRr0NpW0f08lNVHeuHanBR1ixc6m CNr9UC2PfKdNREF4sdvs+eKf9CciKPxvpbxzCGQDmDbDU0twf3FotCWVvn9qkPZ9Y8Xg WG2pfusVHoTKFn9jP52O/LL1jhNWEhsX1M3S+pBeMH6KwGezTT0Y8p1nyVb/hPFM4glX SdwEwQDHZNUGya0tFrLu6bV+4Zp/H6A8bDqyg0SB8GwKDbAHlcx2llVUVKQNxcd1Uz2K riww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TMsk9pfgEaK6OdFyGdWCMhTxxFoBwNLqpHzIuxjSu/Q=; b=ZVIilVqUiLmeMO2gjFMJzQ2gqIGM5DOMhAXTYDkPGN5tpY2CizHv2eX0kDJGEL75qQ S8QiWaKrtx9yJuf2eX0Xz7n6BcX8aSeUlW75p6COskZZug9y+7B7KIc28CD0OCxXyt/f czRIeqjzrmAZ8ur3t6UoBOgO4jKJKF44ZwVvio1r5A2RNqN7vvQgK4q2TsOg36l5ocJT arW+UNODp8VslT6ll+JLMiwWB4iIHjU3maFhBr/SGNCjEen6rQtUIw1LuKQc0xyL0+LB Q7T5kltUypfSdVt1iTADlopiCfP2Nb6RvJh+SfIePWaP7D1CL1aQITk9H9dP9uodH0bT sj9Q== X-Gm-Message-State: AKS2vOyDGQgQqCy9fy29ZLBidgzwDeOulozKAI1Y7AdMguyNwAJl9rrX I0Xm+xebwCWcQuZn92sXnA== X-Received: by 10.36.141.134 with SMTP id w128mr1526933itd.84.1497467153339; Wed, 14 Jun 2017 12:05:53 -0700 (PDT) Received: from localhost.localdomain ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id h67sm380361itb.19.2017.06.14.12.05.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 12:05:52 -0700 (PDT) From: Jens Axboe To: linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org Cc: adilger@dilger.ca, hch@infradead.org, martin.petersen@oracle.com, Jens Axboe Subject: [PATCH 10/11] btrfs: add support for passing in stream information for buffered writes Date: Wed, 14 Jun 2017 13:05:33 -0600 Message-Id: <1497467134-6323-11-git-send-email-axboe@kernel.dk> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497467134-6323-1-git-send-email-axboe@kernel.dk> References: <1497467134-6323-1-git-send-email-axboe@kernel.dk> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Reviewed-by: Andreas Dilger Signed-off-by: Jens Axboe Signed-off-by: Chris Mason --- fs/btrfs/extent_io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index d3619e010005..b245085e8f10 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2827,6 +2827,7 @@ static int submit_extent_page(int op, int op_flags, struct extent_io_tree *tree, bio->bi_end_io = end_io_func; bio->bi_private = tree; bio_set_op_attrs(bio, op, op_flags); + bio_set_streamid(bio, inode_streamid(page->mapping->host)); if (wbc) { wbc_init_bio(wbc, bio); wbc_account_io(wbc, page, page_size);