Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1690577ybg; Thu, 4 Jun 2020 16:52:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUGPqxRkJid6/OqSwi1l3JX1ZqiE/x1fAI7EP+xxgc1EXeREnsuuo68ei8mXSsde9ZZvJ9 X-Received: by 2002:a50:ab16:: with SMTP id s22mr6793870edc.345.1591314763527; Thu, 04 Jun 2020 16:52:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591314763; cv=none; d=google.com; s=arc-20160816; b=SVnkgvyL4T45WAD9rGWZEvk3nhbCLfATB4PxKmEpR4RbwrUqLjOc0i+8sRhlAWzZw5 l41V26Nn3PvZgQJJ1u7dtW6wHXu4YoJJtkcFFaNklWyrYsvW1hfQO74u3TXych/kVF2V 2UYgYEB8QIKlGCsC5qZqUyRdRbUg5lw92mcVSEdVBfNoX1GtG6FSEZinMduyW1jJSV/l WI/KTs93YoaaUxuUcJHPzVXxrzUXfjgdUKtf2ZdW00nMJ/96S2P72Nw3A5G5wHOadbzG dtFxmyeMHGZUHB+y/OnLCkRVCpoM/+pDobm0A/YjB22GfyTzTy8NX8plSfZaZ/gMg0Rr haEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gGiC0x+XOELAYzDMdHSU1D+PBWmFnPVamSFrmgYg4yI=; b=pTZC8cmUotkNexX8/2R8NKBFZM4gtxdwVcjqTY9lm6pP0judFkZ+Eg64ccCS1IgS1n wV1IQIT0f3SLYsvJQkeK87YtcaQDo2V4w2a6cIcVPUeBuuT6Z1Q0EkoiT/D1IhVylnxb 6aFaaCbwB7OVzX12wT9qe9vhUgJUca4Bb5Q4x85pHAm0zljhPIYrJ6xATJtYvZtc2arc kzQSyxpKGhPqmRMAJfBRb4dj5UAgmnJ66vsJ2KmZJ3lDAUIdYvknXyFbsPESb7sKhC37 oCHJMWg65ZckQ3+t5b/sNbkO+bmUnsYL/eWqWkZKydyde0wqs4Y0cnadfSR5H1TJI1Ic 2Rmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=12DhJ4j7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y1si2377275ejq.726.2020.06.04.16.52.19; Thu, 04 Jun 2020 16:52:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=12DhJ4j7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726036AbgFDXu0 (ORCPT + 99 others); Thu, 4 Jun 2020 19:50:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:48118 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726021AbgFDXuZ (ORCPT ); Thu, 4 Jun 2020 19:50:25 -0400 Received: from localhost (unknown [104.132.1.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5E69E20872; Thu, 4 Jun 2020 23:50:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591314625; bh=u+5YnwWFFK5nlG26TpFp3tw/TxQAXscErfxMw11kdHY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=12DhJ4j7SA82q006esRWoPp6vOrOhNNpd5/SGsziuuG2nsrgWgRBs8X1fCOmSkiu/ 7hDhu5CTTZDufKWiPU3Qabbm39ZYXLl43tsAqzpsKzd7LoHvD7VRvPzHMjJ8ocV2nC N6ttocMm+STaxGGsMhocOjVAwE7tSwTk9UiCCVxE= From: Jaegeuk Kim To: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Cc: Jaegeuk Kim Subject: [PATCH 2/2] f2fs: attach IO flags to the missing cases Date: Thu, 4 Jun 2020 16:50:23 -0700 Message-Id: <20200604235023.1954-2-jaegeuk@kernel.org> X-Mailer: git-send-email 2.27.0.278.ge193c7cf3a9-goog In-Reply-To: <20200604235023.1954-1-jaegeuk@kernel.org> References: <20200604235023.1954-1-jaegeuk@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds more IOs to attach flags. Fixes: d58f2f658159 ("f2fs: add node_io_flag for bio flags likewise data_io_flag") Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 2f5293eb5e52a..9d40db50cd65a 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -702,6 +702,7 @@ int f2fs_submit_page_bio(struct f2fs_io_info *fio) if (fio->io_wbc && !is_read_io(fio->op)) wbc_account_cgroup_owner(fio->io_wbc, page, PAGE_SIZE); + __attach_io_flag(fio); bio_set_op_attrs(bio, fio->op, fio->op_flags); inc_page_count(fio->sbi, is_read_io(fio->op) ? @@ -888,6 +889,7 @@ int f2fs_merge_page_bio(struct f2fs_io_info *fio) alloc_new: if (!bio) { bio = __bio_alloc(fio, BIO_MAX_PAGES); + __attach_io_flag(fio); bio_set_op_attrs(bio, fio->op, fio->op_flags); add_bio_entry(fio->sbi, bio, page, fio->temp); -- 2.27.0.278.ge193c7cf3a9-goog