From patchwork Thu Mar 14 16:37:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Le Moal X-Patchwork-Id: 10853295 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4E08D1390 for ; Thu, 14 Mar 2019 16:37:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A6552A492 for ; Thu, 14 Mar 2019 16:37:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D82B2A4B3; Thu, 14 Mar 2019 16:37:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCC8C2A492 for ; Thu, 14 Mar 2019 16:37:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727180AbfCNQh1 (ORCPT ); Thu, 14 Mar 2019 12:37:27 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:49798 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbfCNQh1 (ORCPT ); Thu, 14 Mar 2019 12:37:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1552581446; x=1584117446; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=a/O+1NDp+sRR5nVTm/AAb5O2QqacsgWjRJb3u4iPYf8=; b=T7VAmLT/WKLk9QdAUYVV90JT8M6VT+zAiJ2jT0AbXXoQIoylyJs2IN9R a95e3QCvnaN5I43Mk+72pCKPm29THxbB6T7Esh+xwGNsGy3mIQQ4ercnC H21uMtGb5rX1Is40OBoCtLy1QejasF6NJ5QQcDzahBWU0k5Qc3BEdzbGD Q2sXWO9+dDKeYjoKpRthTbmYvult9WmG4J4dLDM1xT0XiLf7PAc3EquY6 gHDCOgkrcqWUHMtDXyuho9tVSv2TargN8ZFATNyGgiBb+uFO4A/jCTgkC dYLiUEvelvMt5+egYG3KM1ff00dKuT9lhE4Lepv/gqJSrjgF+9DjbA8sX g==; X-IronPort-AV: E=Sophos;i="5.58,478,1544457600"; d="scan'208";a="208917404" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 15 Mar 2019 00:37:09 +0800 IronPort-SDR: SizTaZuY/2Rvbjje82w1iQKfEWjETdXKah8dDhQ4nTtT6xmOIBL8Q2kzzr9MYQNfc4cl2uye/D bOVJiwqjI0FTchpqcn8+FTwpdKCoRh3epO/1fLrPHofzQx5n5/M8zqaAE8kWVWtT4RElAkDOAD AzQKHsPnL5Bjn3PQQjXCNkezktxdc7pyoUYripXC8lIsanLkCfbJWbqSVXd+k9129CAXn9La67 BDrLs8zrWLMYWNP2Ko3nVs7iv5FZuYb3ojEj2MJZThR/wiTg7faG9jI9++N9610UMD4vwRYfKX u2udum1p8ryjlDA2xuEr0GWd Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP; 14 Mar 2019 09:16:57 -0700 IronPort-SDR: ZmkU+NOa7TP1HOnhcSlyOPCpdgc5YoD2Pa9EqILveg+4mHmIjRBafoS103LlJA2AlpjGorouye 0NZrL9SbhwOxLyn/g7c68b1Cpafms6tGZpFZ0aq+Nt5PKUZgqzcshQjxFnbCk8fTVWl6+kwQEI vNUo8zoYgxECroqccrA4ZS0e6QHHP6DXBqxuttey/BTJDzMKfQLCXs2RLaXRhZK3jq1rKLDyBn csDfI+DfhBznGa8mDP0W52jh/p4OyIYqbaKEp4A1pMiuL06ZdK5gPESBIteC9vkwhI1eJvEWbh ++k= Received: from washi.fujisawa.hgst.com ([10.149.53.254]) by uls-op-cesaip01.wdc.com with ESMTP; 14 Mar 2019 09:37:08 -0700 From: Damien Le Moal To: Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net Cc: linux-fsdevel@vger.kernel.org, Matias Bjorling , Masato Suzuki Subject: [PATCH 0/2] f2fs: bug fix and improvement Date: Fri, 15 Mar 2019 01:37:05 +0900 Message-Id: <20190314163707.14364-1-damien.lemoal@wdc.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Small 2 patch series to fix a bug with single zoned block device volume handling and reduce memory usage when zoned block devices are used. Damien Le Moal (2): f2fs: Fix use of number of devices f2fs: Reduce zoned block device memory usage fs/f2fs/data.c | 17 ++++++++++------ fs/f2fs/f2fs.h | 27 ++++++++++++++++---------- fs/f2fs/file.c | 2 +- fs/f2fs/gc.c | 2 +- fs/f2fs/segment.c | 49 ++++++++++++++++++++++------------------------- fs/f2fs/super.c | 13 ++++++++----- 6 files changed, 61 insertions(+), 49 deletions(-)