Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3F74C4361B for ; Mon, 7 Dec 2020 15:06:52 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 350ED23715; Mon, 7 Dec 2020 15:06:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 350ED23715 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1kmI6E-0007pm-Pt; Mon, 07 Dec 2020 15:06:50 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmI6D-0007pe-QL for linux-f2fs-devel@lists.sourceforge.net; Mon, 07 Dec 2020 15:06:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dfvUFys5PlyLlUBaZxoL5D39xceuNUcpnMuxryCUGG0=; b=f5YtucXS4BoNNH9Evv97Im4zDu /dpNZp5LzcuX1f0Ynzv/oUeZ9esevrfKFWZBhOIBvhD232LWyGOGyw6Je/7zmqU26rbMWcZSEgLr8 9a4NWqHipcOWT/A/UHxftDSJvNrlUurp5tJrp15s08TaftJOmxfNYd/C1C6+ytytcdZs=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=dfvUFys5PlyLlUBaZxoL5D39xceuNUcpnMuxryCUGG0=; b=TwZo6iCxva1OP03hDqkKKIzIC6 GpKIgz1JkIstuPF2cM31iiWb+B5fv3kKOxPCNdlFQOvxG3nZ2YudxcdEdl0cScY+LpLh33pCuy9hb tNnXrAKC85hXDhhZO9IuKKGgoHuT0p8PwMs9m84+e0iFn+2f5J4yuPrWg40d4fVGg3wY=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1kmI60-005TKX-9t for linux-f2fs-devel@lists.sourceforge.net; Mon, 07 Dec 2020 15:06:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607353586; bh=UknzbuqDK9Fr9lU5a/hvPbN5gZqB4HgBYDMvW5xk22o=; h=To:Cc:References:From:Date:In-Reply-To:From; b=RdeVVeFZ+1EebKQ1sop+/hBrxDOp+MY5WY5bTSTdqhkWNqC26tjopTYHot3Ixq+Gy eHrF+NdoYGKzYzY38gWBXZMdq/Xxg6F5CWIx0UjCoZf2FB63/OyiJrZeb4XlPjD/AE xo66czp1Y9Cx//p6M8Yq5vr4rhq1dHncn9trFzQGRtEEnQnQTZzvWTdun3MyJHdoMX m901JKk07azeW3SP9DV7UuhFw/DHW3qBLsBEWwCj/Vy1RiIrKo6DRkq98AB9eLoAF1 yqgCXM/z8yDP4WHh947/nu67TpVrZhDZIPM62wUBDbdLV8ZnfqOToa/M6KM/k0Qkq3 Gm4uYIzLFp00A== To: liush , jaegeuk@kernel.org References: <1607338774-8541-1-git-send-email-liush@allwinnertech.com> <1607338774-8541-2-git-send-email-liush@allwinnertech.com> From: Chao Yu Message-ID: Date: Mon, 7 Dec 2020 23:06:19 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <1607338774-8541-2-git-send-email-liush@allwinnertech.com> Content-Language: en-US X-Headers-End: 1kmI60-005TKX-9t Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: don't check PAGE_SIZE again in sanity_check_raw_super() X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tiny.windzz@gmail.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 2020/12/7 18:59, liush wrote: > From: Yangtao Li > > Many flash devices read and write a single IO based on a multiple > of 4KB, and we support only 4KB page cache size now. > > Since we already check page size in init_f2fs_fs(), so remove page > size check in sanity_check_raw_super(). > > Signed-off-by: Yangtao Li > Signed-off-by: Shaohua Liu Reviewed-by: Chao Yu Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel