Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4138721pxv; Mon, 19 Jul 2021 18:09:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVeKyMOCba5oPyuJLAGT7OImn0oP14Er+LEbDlj2MgW3NauMpmtyAXczJCB2Xdu9ZzCHaV X-Received: by 2002:a92:d3c7:: with SMTP id c7mr18718138ilh.59.1626743367815; Mon, 19 Jul 2021 18:09:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626743367; cv=none; d=google.com; s=arc-20160816; b=FzBtoH4Sel8eKUYF6MAXpEE2Jv0YcDiSXpJgZGtj38t1v1yZ9bXgjSjHZEWgTSjF7C WLI2jMx1HYvPbGzGicQGqm1qIkRZwtH9yqk2eRpEDtxrRENrhddUww531vcjJPHcVzVa Io6qhSnBIOMuoqL9xg1j9gSIGLQyPVbcScBai5aXlTiZTdQzn69EmDpWLhNX2CqWvohF ZAtzqlLF3RXpP/CSC8dt06gYGAg14QCKrAVRW8rAk5i28Hc7u2GeJHIKv3kw0rp0/Pxw NeaiayPRxgvWZsVQ5jNmmeXdPm/IWRAFKbFREci2emvWXtImmrFJ23lVDKjJEQrsQE/B miIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=GMdkJHwT/zvawaAeWYGanfuUmlNP2FqHwOytlmwhCw4=; b=Hx5c/1xiz4B5grEGBcNaMOHEbS13g67cPQB/ACwJKURtKJhxbtUSta/49i6MS0H1gh Ig4tknfbh0EGVKFjFHcM0XC5eMz3CXaazL1sJ6Q2U8G8gqoCPFZ7xyCuORopP6cQ4syg gdXiiv2fPuSIYIAbvJ/f/wqv0GEt+7CUsgVERIXoPsGmxXfT5Zdtl0YAIDwGM3ugBnXB FJWBD79LK+6E7G/CxuA2cmdcHXw4QRj4f35k+Zn+kJ4mtwzvCB0u7daCwT6BbObeNfyP M8hpUTXB2n5+/veg3/AE/eiqLSwj2+t0ydEe1HQIb8kSUwwski2CGNtCtVeNZCSCqfab cApA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I9iOc7Si; 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 a6si5926091ilv.81.2021.07.19.18.09.16; Mon, 19 Jul 2021 18:09:27 -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=k20201202 header.b=I9iOc7Si; 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 S1356536AbhGTA1A (ORCPT + 99 others); Mon, 19 Jul 2021 20:27:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:40962 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242159AbhGTAXz (ORCPT ); Mon, 19 Jul 2021 20:23:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EB30C600D1; Tue, 20 Jul 2021 01:04:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626743074; bh=RPXkB20FKT91RU0xvgWTL8V/qTewlOmPJA7L6IT8MNQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=I9iOc7Si61GdhzHbktPjMN/k9cChM95UflBRXWHCM6KojM9cnX9+6e1a6vJP/kDQN m5reAgiwr5qU2ZRbeAsRflNLRKjkz2eHpPHWc74zYSdmLq2PWPe3u9wfgAZbvNJe7R S6qGzwzAWzLM2aF7gr9nUayoCsvo4LAVn7TwuEPdyG2rX1gquXxnXWSFEVm5D/eir9 ESsKS+znCSyCrGDJpLOC81nDUViiWaSStrW3zSoK1mNFNHWbHFDiw/CAAdJPg7ceSv o00Eg7sDDXRyVaMuxKbYoli1fAtjgWNJe1XHTl5QD4KHHKqhRot0gxQwmcRfSbdG9A uKKYBEGCSJ8wQ== Subject: Re: [f2fs-dev] [PATCH v2] f2fs: let's keep writing IOs on SBI_NEED_FSCK To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Cc: stable@kernel.org References: <20210714231850.2567509-1-jaegeuk@kernel.org> From: Chao Yu Message-ID: <89067443-81ad-ce81-2765-44625d59dbeb@kernel.org> Date: Tue, 20 Jul 2021 09:04:32 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/7/20 2:50, Jaegeuk Kim wrote: > SBI_NEED_FSCK is an indicator that fsck.f2fs needs to be triggered, so it > is not fully critical to stop any IO writes. So, let's allow to write data > instead of reporting EIO forever given SBI_NEED_FSCK, but do keep OPU. > > Fixes: 955772787667 ("f2fs: drop inplace IO if fs status is abnormal") > Cc: # v5.13+ > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,