Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1496097rdb; Tue, 30 Jan 2024 23:33:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjO9ll3XyOaeSGXejCXdsfofQoOf+7WtRP/GvkGBGENbYZ5heS5x+QPSBIcsowyds7FGhO X-Received: by 2002:a05:620a:cef:b0:783:f7f4:a2d4 with SMTP id c15-20020a05620a0cef00b00783f7f4a2d4mr666628qkj.31.1706686380226; Tue, 30 Jan 2024 23:33:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706686380; cv=pass; d=google.com; s=arc-20160816; b=OgCeY6Kqvw+3aBhriAwMN8eVeirGLIE5N+p8tvD1oHEYBdkBj/6gVuHQQcqjqNJSD6 zEQqrSoyhHYhLycu0QZD0orYHm3ekDoTxZ9995r2zEuXdlnyKNBBLg4Lqv6vavxPT1N9 qw3rD85EG2edrw6Dq2cOgW3ToL4sUwZ27GCqnPwNRnrM8Ipgl/IO528K8snX/8B30s1E I5SCjUmOcWOTftb10xb2+PeXX9d8mwJyM5LfWSp55aBVSCcnnKoIgajdTtuIQxTor+cu olys8p0otMIUy5lBA89OYK9jmk+ysoColREOQFyFpkWH2oJeC7zjNQsNuv20G/RbBTkW moEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=V4YAZDel5OBwMG24YgZ8kPVmC8xWyteZPVcV1z2w9Sk=; fh=iKo+U4XcUNbhKmgzuBv5eZ5AwouNlr5FBg6i6+rA8tQ=; b=YI/7hMiwlJANIkmc8ZQfUxWUAtKKDieP544dLqYO+uh5/jR+1GmsJLM5YYmSzIzT+v UbGEbyUfdDDvRSu8ihYj51OPvkJ7v8L7Yvov/RnGR8dgj5g3+IRfA6w4ogvVQoKL/t68 fhp3yO9vq7ea0ydm/QR5C0p5WITzL5eXOVsxtRXJoKG3C+R7yv4D9Bvh7Gra/I1Mw7p3 GQJZJNIn9FjV92zBxcTUK2REhOtZd/uirvxFr0I+1GGJX6tmqOLHylcI6HUExw2B9BJT mk/QYv3xsmTcfZ4mBIL4XS6m+2107tP0D38RRnNgHjpJ+svlkUUBgNBoXpsdvEwH9QTd Jwwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="sXgRqJl/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45928-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCUMOnl3CJ+AwINdUlpaqqRRhyFlAJqMPbD1lh3EV8w0aYV0S7f4abgpus6rhGGrPcoHMJMDQS2U2ToMGyghpC7HttziXspc+5wXJ1P7Gw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id xb17-20020a05620a5ad100b00783eb03fe1dsi8655352qkn.222.2024.01.30.23.33.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:33:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="sXgRqJl/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45928-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 016D91C2244F for ; Wed, 31 Jan 2024 07:33:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7FF55812F; Wed, 31 Jan 2024 07:32:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sXgRqJl/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF04755E72; Wed, 31 Jan 2024 07:32:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706686356; cv=none; b=GJShbXggWe1S+orNiQeWk/uXef4eS/o21IBkKzx5VdfdB1nZnXwNvzzXzmvJRMUY8OY60OplkJvWDkzaNszr+KG2ya8/O/PLhKecxXYDvjMh0YUgrsdpPemc+X6bhWgx/hsDuy4H8CWsN3P7CqJ9J0AJBxFeggWOxAys2W8dIkg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706686356; c=relaxed/simple; bh=sxA/BQif6UosZYq9bEM7P35Kp7rNc5yXcyj9qFUfD4o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=plvCMfUKKL55nr5jgSUAMCsCJMtQzfVXPXIXrrosAOLWWWoGlNYmjk9ygF5/PMXB6CVtD7R5n1LJQrd6P8VnQT1kbz3DpThoq8zGKjnsHrwzExkSIIp9WzY+obPs0CdhExQL9XxTQ6kPJrMuzfo5lFTFYNI4WbxqNX9aTO3Pekk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sXgRqJl/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB2C4C433C7; Wed, 31 Jan 2024 07:32:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706686355; bh=sxA/BQif6UosZYq9bEM7P35Kp7rNc5yXcyj9qFUfD4o=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=sXgRqJl/mMi2kUmYZA/bTZQ70FhzSCKpqsJprAywphSWPE15pORJFWbnfKjrJ8FqL FbArM8c44OdB1yyxg99MPlRtVdaX2d36hFPLV2AIVx6sK5wuRFanJeAmmkeosV2jeO i/tEvG5AAbqeAW/XsqxaSasMNCN9W/WIfyupoc/USjWkoFBPzkcYi+XaYHcMORh6mG bZ6HHZH/1YaM9xkgVDWPrRkj0gPXkQPS1y8kM6feJtdxy7PdpZ8fI9sAxeuqlUijBF H/mkTru9fO3Nf9nW21Ssl6kU7nEjmd5iZKNHS78J3STgJ4BuvnPKcX2HN0sirrqqx+ 2DFYmNgfg0rLg== Message-ID: Date: Wed, 31 Jan 2024 15:32:26 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 4/5] f2fs: guard blkdev_zone_mgmt with nofs scope Content-Language: en-US To: Johannes Thumshirn , Damien Le Moal , Naohiro Aota , Johannes Thumshirn , Alasdair Kergon , Mike Snitzer , Mikulas Patocka , dm-devel@lists.linux.dev, Chris Mason , Josef Bacik , David Sterba , Jaegeuk Kim , Jens Axboe , Christoph Hellwig , Sagi Grimberg , Chaitanya Kulkarni Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, linux-nvme@lists.infradead.org References: <20240128-zonefs_nofs-v3-0-ae3b7c8def61@wdc.com> <20240128-zonefs_nofs-v3-4-ae3b7c8def61@wdc.com> From: Chao Yu In-Reply-To: <20240128-zonefs_nofs-v3-4-ae3b7c8def61@wdc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/1/29 15:52, Johannes Thumshirn wrote: > Guard the calls to blkdev_zone_mgmt() with a memalloc_nofs scope. > This helps us getting rid of the GFP_NOFS argument to blkdev_zone_mgmt(); > > Signed-off-by: Johannes Thumshirn Reviewed-by: Chao Yu Thanks,