Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1015354ybi; Fri, 14 Jun 2019 07:13:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJ0K/9b+pfXF7px3iBRWm6Ygmf80Ea67Pq6AjVJJRYTXF+0gQs/XWu4VSQ1UNzRdDI6HDA X-Received: by 2002:a17:902:903:: with SMTP id 3mr68501506plm.281.1560521606776; Fri, 14 Jun 2019 07:13:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560521606; cv=none; d=google.com; s=arc-20160816; b=UIeLFqhcH/fHFs8eesUBXpimFKdOEcJs/3G2TojnAThKo9MLUqkezRFu+YURicd08o Nv2ET99ij+FpUh74Td0eRf6FIVJb+0WCDqjgbr/cLj/s+mqJ1i5VAkbaruVNquZH8Asl DEl22aH9vG9w1I5+voxrdPYA8F4ZaL2byQOG9ltnVfVEYQOT/yyE1uAqVW9ostG3a5P+ va77SVZip7FX3ummHiXrdvm8YgVJT4kzA0oAD92XFIjp2W4E6/T+yN7O0rfIGVyugohX XOJ7MteKDUX3/lKoPexlmXKqXHQT3U8Nyboo5ZT1bSneLY4LO6IOhygNcrqd96Mz4Jmd YK+Q== 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; bh=rAC+Hn22cr49ahogcik0pcBGLagZS3dETf2Wz5S13B0=; b=U8kulPhTpIm5Zh8IlhzKuJYmm9TlO3KnmRUEe3h1BjxxT88lRmsvkv1qkWPRH6N1uN v/AiHxuMU2pobA/dZJcVGppnVNOtS7RBMh3NF2OqHR2wCNrgN1/jW9DzBugasAIhsiyk qjwLbjO3ajOV7SQB5dr9bHLXJHemydhqsgVOwAO/JTGIJafAvPLNbwCoYF9a6GNFddS5 Rc8bRr90wILP2p9nU1olMH7m3W8JnvIxtOTD0xYNhvUWOPBCJ752dEA9/Gbx65H5qTkv tI9Jc/A5Z6sxNPMY8XuWwR3cmmXURLFXKVutdfnMdk/8KXiaImTBN3ncsMRCA/MJh3nV 11JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=LFa2rt4q; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si2191728pla.259.2019.06.14.07.13.10; Fri, 14 Jun 2019 07:13:26 -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=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=LFa2rt4q; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728641AbfFNOMm (ORCPT + 99 others); Fri, 14 Jun 2019 10:12:42 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:39618 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727587AbfFNOMm (ORCPT ); Fri, 14 Jun 2019 10:12:42 -0400 Received: by mail-qt1-f193.google.com with SMTP id i34so2586454qta.6 for ; Fri, 14 Jun 2019 07:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rAC+Hn22cr49ahogcik0pcBGLagZS3dETf2Wz5S13B0=; b=LFa2rt4qfms1O2bBvZEW+0W+yIcox6qSOOVAvbDzHmHWo7eTBXlpUAexcKk/hD3cG+ rZ0+KCTtWiy5i11ac0ffORaj13AQegx+B3gE4nQ1qjDlsSxGZxe41ifQWeW/cRdygt3S z4xcC/+/F/ZBom7OzAh9BRsonM/Aaa18VswtLxMXOOaLL32rLfu84gAbFeINiulLvMLR Yq/ZKonKABWtRk2lRehY3/uysF7DQdtvGRU569vLLFCcMz9mMuy9x3Q3seIf0ssPYt7g O6W0+KYhEf2U1P2W64QDZzS7jPc3N1x7t1sOs4846SUMiyw55JhL5l5bqMy50hkQYXYM jJUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rAC+Hn22cr49ahogcik0pcBGLagZS3dETf2Wz5S13B0=; b=EFa3m0ZVOkRt//v0joYjevXbPd5zjC1GvkoPH9ZhqlyupXFADQgskmW8uJlti6OvQ+ XQ6uu6bHGpnhdRn6sOp8/1w+qZUpCnhmdUcsiNwAhhhIvekSSComK6gSeplAnOHNZi3K 22m5fWEUCLOK3HSfKGj264ZRMY9DTAscoFo2Aps/DsP55T30dO1ck8GSSbp+9eXpc+HE X2LnHGgUFSLr+zE8gw6r34e4UmSVodidrM1IiMN8S9z6Cjtz6YEE3gwn6XcrTrqGx9Vl edMEEzaadThi8ZhCIGlhoZcIOUN40gQ3HMcWyZXkyGDj/dEZPd3XQ6fKPRyqL2VXtnO2 5wyA== X-Gm-Message-State: APjAAAX1xSEa4eWEmr0Ept1iMMbRXVGHFxWdLwvKqs1ZYvvtdSOKjoFY lL7UCEA9VO+J9cI18U0mEh/8kw== X-Received: by 2002:a0c:d4b4:: with SMTP id u49mr8632899qvh.202.1560521561034; Fri, 14 Jun 2019 07:12:41 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::a658]) by smtp.gmail.com with ESMTPSA id j9sm1394411qkg.30.2019.06.14.07.12.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jun 2019 07:12:40 -0700 (PDT) Date: Fri, 14 Jun 2019 10:12:39 -0400 From: Josef Bacik To: Tejun Heo Cc: dsterba@suse.com, clm@fb.com, josef@toxicpanda.com, axboe@kernel.dk, jack@suse.cz, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 8/8] Btrfs: extent_write_locked_range() should attach inode->i_wb Message-ID: <20190614141238.qhb45oehk6gbftja@MacBook-Pro-91.local> References: <20190614003350.1178444-1-tj@kernel.org> <20190614003350.1178444-9-tj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190614003350.1178444-9-tj@kernel.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 13, 2019 at 05:33:50PM -0700, Tejun Heo wrote: > From: Chris Mason > > extent_write_locked_range() is used when we're falling back to buffered > IO from inside of compression. It allocates its own wbc and should > associate it with the inode's i_wb to make sure the IO goes down from > the correct cgroup. > > Signed-off-by: Chris Mason Reviewed-by: Josef Bacik Thanks, Josef