Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4628286imm; Wed, 30 May 2018 09:00:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJhrYApbQR3I5WIzSKLuiy4yiVqMlS8zSnSk8OXn5V48yP6yMG6JRTWr6Ch+J60IsTzCj3h X-Received: by 2002:a17:902:a986:: with SMTP id bh6-v6mr3438317plb.245.1527696013628; Wed, 30 May 2018 09:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527696013; cv=none; d=google.com; s=arc-20160816; b=xrpZD5Y73EleSxEoqdd1Aun8XlSyCFwhlyBIbzAtCv7JRtP+bEwuWzP7pyNtLACGA4 dDjdF5VPPBu9UyXTWo+s3NqGBJ7rmY7pXpIS0wnKpm6xhnzVeklDkoG4KZiipM+Sr7r2 AK67EIsipEXbPIaB6nQNIYGW5Wo8pH99vGhD9TmwK/ykLHgKkDOM3n5BVvWGVc/8sqmd r2WIN5q3lCp8sS9RmVcicrHKfD/SPy6vGvvm7N9+50fNYXdQPtUtNzf7chc8C356CasX yCbQYRntsfpVIU1TzwZA63BmOQwO/RNWltJDix35lJXVN3xZqv1Eza5vFRFqx+hRMcTL TD+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=jm4n5ne+zhJIGhhrHHerKUrdh6lZjNyYLwXmjvYL22U=; b=G+JT6aU9WQaw9jnxCrq4NN5/vhw0sqD96sB1OV+jP3L/Yw8OLedaRiw49dZGZF6J/P bRbFm5B1gB6fLmSePBY1/z7BpKIvcc1DU6D6U3g+ZzggCNpsxnlmCHXMA/SCUs/OVNd/ 2dU0dmHEbIgZapENwhSjprJ2QOd81uY4LZZQowXXggqYUZazEa90G/dQERZwbeGOaf/i 2yy4wMO3kBsJ6E6cThOzhGDcEwXnFA19r4gORY6/89eVZmHVbvjWc765ZWlcY5/+TYUS SO8y8gJ0EV5rUhvUaq9nqKZS2MadYGarnAKXN+eRgt3p8nbgO8Nb1dOYWhgi9y7nYerV POaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=aKb/o1od; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a187-v6si28543724pgc.238.2018.05.30.08.59.59; Wed, 30 May 2018 09:00:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=aKb/o1od; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753888AbeE3P6i (ORCPT + 99 others); Wed, 30 May 2018 11:58:38 -0400 Received: from mail-yb0-f195.google.com ([209.85.213.195]:41686 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753813AbeE3P61 (ORCPT ); Wed, 30 May 2018 11:58:27 -0400 Received: by mail-yb0-f195.google.com with SMTP id l2-v6so6522927ybp.8; Wed, 30 May 2018 08:58:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jm4n5ne+zhJIGhhrHHerKUrdh6lZjNyYLwXmjvYL22U=; b=aKb/o1odqDVo6RAqt0+50514xioM2wZZGGl+So68du5GHxMJ4jWRsNmTGO127DNwLN 8gaLJurs95bnUnQgCmjm3FI2jkUAPfweyIsPOCdaXKA3JykGoRPBuYxj7AcwxjQX5TQy jRhbYt8CTsa7wtS+VwoBiaZC6Up8XP+/hwvv9wZ8f72xc+lwwHUfd0tneSLFEVlMOmnY 2B/n1Kq3A3jno0jx6Ip5XXHcJa888h+VhK+P2WAHMLJW5eaDkFrct8DHIini62hQxcJZ cihnoyP56fcBu5l9N9pCtKsgMtutIzxb9HwTJo0Ic01Vxmv+ftrI9htLfNr/G5v2Pumv zdmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=jm4n5ne+zhJIGhhrHHerKUrdh6lZjNyYLwXmjvYL22U=; b=jsHSWSpI4Mr9tw0Gt5yGYv6bAwQ0TRwiTut+gEUxdamdnSiS5OpRoHSm66o25xHGBi aBLKvyXTK6JDIYU1YFqVu3vxWHqCG7QIs8czIpGlCZf/gRr06/hapBgTNQcG3HlPTOJu SA3mQcsWEgySykuzUdRISlXoxfph7zy1XYHq9mITKxBywOaQJKozzAn21/hGB/B1jnVV R95RK3GN+S/fImpELrL12k3wEBQQp6Vd+lQYwODY+TymWdBNHQmBdWKouFYnTUKoMKw0 azYLg5ApSou8F8bIk+ZyVvhWYxucrCotimJtrForzWKPDLJlead0icwUvRiK3DGLcN90 6BVQ== X-Gm-Message-State: ALKqPwdnHB8QzDZWg7CALQKzTXI4TrdKYqt40oVJWo+5v5e6Kv9CvAMQ EHPtJzqtPrBFCP/YCo5okc0= X-Received: by 2002:a25:ea10:: with SMTP id p16-v6mr1803446ybd.521.1527695906713; Wed, 30 May 2018 08:58:26 -0700 (PDT) Received: from localhost ([2620:10d:c091:180::1:6002]) by smtp.gmail.com with ESMTPSA id u17-v6sm734745ywu.16.2018.05.30.08.58.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 May 2018 08:58:25 -0700 (PDT) Date: Wed, 30 May 2018 08:58:24 -0700 From: Tejun Heo To: Josef Bacik Cc: axboe@kernel.dk, kernel-team@fb.com, linux-block@vger.kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Josef Bacik Subject: Re: [PATCH 04/13] blk: introduce REQ_SWAP Message-ID: <20180530155824.GL1351649@devbig577.frc2.facebook.com> References: <20180529211724.4531-1-josef@toxicpanda.com> <20180529211724.4531-5-josef@toxicpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180529211724.4531-5-josef@toxicpanda.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 29, 2018 at 05:17:15PM -0400, Josef Bacik wrote: > From: Josef Bacik > > Just like REQ_META, it's important to know the IO coming down is swap > in order to guard against potential IO priority inversion issues with > cgroups. Add REQ_SWAP and use it for all swap IO, and add it to our > bio_issue_as_root_blkg helper. > > Signed-off-by: Josef Bacik Acked-by: Tejun Heo Thanks. -- tejun