From mboxrd@z Thu Jan 1 00:00:00 1970 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=-12.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT 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 CD3DDC2D0A3 for ; Mon, 9 Nov 2020 18:04:22 +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 2324520665; Mon, 9 Nov 2020 18:04:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="k49FBMFg"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="S2bI/lHj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="XyCcfDuN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2324520665 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 1kcBWd-0001CQ-2T; Mon, 09 Nov 2020 18:04:19 +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 1kcBWa-0001CH-2d for linux-f2fs-devel@lists.sourceforge.net; Mon, 09 Nov 2020 18:04:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+WJ8RDy1EjRXBOrClQFFIa1jAGOan8tvKkBnQDd6huA=; b=k49FBMFgcmZCR/lI4wfEUFoN16 VFL2l5GVCNavNCEtQFghLYBwWgvODSqW5dFAKTg5YPx2Z7Du+GugFP6ut+369RUQtVnaXrQlZHewc g1YSLVTrgg0RbkJ19bOzOrHfQAnGF1vnOo7+Or7XjtvCp9yvHMgvVOMXVs75rlAMCZPc=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=+WJ8RDy1EjRXBOrClQFFIa1jAGOan8tvKkBnQDd6huA=; b=S 2bI/lHjDhF6UCc2yqdxZ4gt9qqdltlo4qyaYP9CecxpblOY9MJxB4srGEgyxPus7S6y+bEaORczRN GPi50CG0lbAuTO2EV3ibcDe+7y9lq0XBScYxL6RGNolB+QP4QCV6rCEURwJFzWlaUQgUX7z1wTZkI sr8kRlHpZivn4ZOY=; 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 1kcBWN-005svd-Rq for linux-f2fs-devel@lists.sourceforge.net; Mon, 09 Nov 2020 18:04:16 +0000 Received: from localhost (unknown [104.132.1.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 60BF020665; Mon, 9 Nov 2020 18:03:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604945033; bh=7MrXeupL2mUTVO8G9AlyqK29v2LNBQDDZCRvTOFBG/c=; h=From:To:Cc:Subject:Date:From; b=XyCcfDuNSDjwUjO0kNX5iSdaw6uLRB2/SdCq7wmGiq/4rs+uzyDRfgGeRlOjC8jDr I+NXkq+2zhL044/Tl567Jo7Kzk3DxFSWiCBNgrWLaMKqluB2VoIciF/W8nxjGIEA3F GqA7Ljr5WXrPFcq1/1u4+iKte2SxQH04Re50IBHs= From: Jaegeuk Kim To: linux-f2fs-devel@lists.sourceforge.net Date: Mon, 9 Nov 2020 10:03:51 -0800 Message-Id: <20201109180351.2330062-1-jaegeuk@kernel.org> X-Mailer: git-send-email 2.29.2.222.g5d2a92d10f8-goog MIME-Version: 1.0 X-Headers-End: 1kcBWN-005svd-Rq Subject: [f2fs-dev] [PATCH] mkfs.f2fs: show a message when compression is enabled 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: Jaegeuk Kim Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net This patch adds a message when formatting the disk with compression. Signed-off-by: Jaegeuk Kim --- mkfs/f2fs_format_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c index b14d7359f786..03eb748170ad 100644 --- a/mkfs/f2fs_format_main.c +++ b/mkfs/f2fs_format_main.c @@ -98,6 +98,9 @@ static void f2fs_show_info() f2fs_encoding2str(c.s_encoding)); if (c.feature & le32_to_cpu(F2FS_FEATURE_PRJQUOTA)) MSG(0, "Info: Enable Project quota\n"); + + if (c.feature & le32_to_cpu(F2FS_FEATURE_COMPRESSION)) + MSG(0, "Info: Enable Compression\n"); } static void add_default_options(void) -- 2.29.2.222.g5d2a92d10f8-goog _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel