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 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC02EC433FE for ; Sat, 26 Feb 2022 07:06:06 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4K5Hjm2Zmqz3bcS for ; Sat, 26 Feb 2022 18:06:04 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=p6dk6ET4; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::529; helo=mail-pg1-x529.google.com; envelope-from=jnhuang95@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=p6dk6ET4; dkim-atps=neutral Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4K5Hjf2n7Lz2yN3 for ; Sat, 26 Feb 2022 18:05:57 +1100 (AEDT) Received: by mail-pg1-x529.google.com with SMTP id 27so6649458pgk.10 for ; Fri, 25 Feb 2022 23:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=12pF2J7VBd40PUm9/P8/z1pEuEYwhjfpzTNllR1MSO8=; b=p6dk6ET4Fbcvyvu5WHqBCiTebJdb33LNQrnjkl53DesNTYAPqGHKKuUBqHQPh6yv6Y CqE+0q2WrjvLp4NdZchXp0xSEsYoX2Djza7UYLEdJungV53Y8+MIdpboPk90sBElzMCS Ow/yRNvR+l9tHq8GpTxEOpWR7ZQkzhRgtDIfDkHKanqXXYIWKkZOV237iCPGItuAWSit HhFG9RWleGj8w5W50hNNPEjSP7fPix7CsrrfrPY8j0tJ7X0fhgsBcAGg9hLGViX2k6mW pllY9wh/TXMoSHdBk/0ZCcqC9qCr83u2xOBBsK+duOLzKZIlr/ByvnWrB0py8OsYkILs WCTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=12pF2J7VBd40PUm9/P8/z1pEuEYwhjfpzTNllR1MSO8=; b=ZUKjsWYLwVw1z+mKXYzVLmbsWbFQJrNnB27id8IfOr0f2lsj8x1Y7OH+E8+Mt2PXMA oPXSa0n06gCSZIMjVMaOZacrxStDuDHyoDt2yy2tQJ4DbYN5rCFaU2jClpVp+7uxm/99 fwGWGj5/VXRVDCbV/0OihejWVstFQc3j67eQ45mWZCrKW1V/dn0eKEjQOAr3n8x5EOqx +x4yX+MP+3pEPgJISkj9JdUo45bw5UH7oBEArzGACreOfKyZoJhoGudSQFCNGnJJFhm9 TqyCozSe2HZi4zs5pzpFoVdMIOHJ3v81Ne3whZB0TtZNtrM6ky7GC1jVKm2KdjOcc9ZU P+uw== X-Gm-Message-State: AOAM530LVYEG6s/Lp1MnUYEIOTOfTn8gvqb0ZY3OgdSam0to4i6HXPhr 9PrI/OlKkXvDsof0/EouBn0= X-Google-Smtp-Source: ABdhPJyunwZkIIamynu+s2SqwmhCJLv7G/YpTBi0/PTU1Jj+zmg4jqVacwWpT8GMUt5dhB8eXbnygg== X-Received: by 2002:a63:e718:0:b0:34b:8596:4a0d with SMTP id b24-20020a63e718000000b0034b85964a0dmr9107387pgi.327.1645859156105; Fri, 25 Feb 2022 23:05:56 -0800 (PST) Received: from hjn-PC.localdomain (li1080-207.members.linode.com. [45.33.61.207]) by smtp.gmail.com with ESMTPSA id e20-20020a17090ab39400b001bc4f9ad3cbsm11044489pjr.3.2022.02.25.23.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 23:05:55 -0800 (PST) From: Huang Jianan To: u-boot@lists.denx.de, trini@konsulko.com Subject: [PATCH v4 0/5] fs/erofs: new filesystem Date: Sat, 26 Feb 2022 15:05:46 +0800 Message-Id: <20220226070551.9833-1-jnhuang95@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-erofs@lists.ozlabs.org Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" Changes since v3: - update tools/docker/Dockerfile; Changes since v2: - sync up with erofs-utils 1.4; - update lib/lz4 to v1.8.3; - add test for filesystem functions; Changes since v1: - fix the inconsistency between From and SoB; - add missing license header; Huang Jianan (5): fs/erofs: add erofs filesystem support lib/lz4: update LZ4 decompressor module fs/erofs: add lz4 decompression support fs/erofs: add filesystem commands test/py: Add tests for the erofs MAINTAINERS | 9 + cmd/Kconfig | 6 + cmd/Makefile | 1 + cmd/erofs.c | 42 ++ configs/sandbox_defconfig | 1 + fs/Kconfig | 2 + fs/Makefile | 1 + fs/erofs/Kconfig | 21 + fs/erofs/Makefile | 9 + fs/erofs/data.c | 311 +++++++++++++ fs/erofs/decompress.c | 78 ++++ fs/erofs/decompress.h | 24 + fs/erofs/erofs_fs.h | 436 ++++++++++++++++++ fs/erofs/fs.c | 267 +++++++++++ fs/erofs/internal.h | 313 +++++++++++++ fs/erofs/namei.c | 252 +++++++++++ fs/erofs/super.c | 105 +++++ fs/erofs/zmap.c | 601 ++++++++++++++++++++++++ fs/fs.c | 22 + include/erofs.h | 19 + include/fs.h | 1 + include/u-boot/lz4.h | 49 ++ lib/lz4.c | 679 ++++++++++++++++++++-------- lib/lz4_wrapper.c | 23 +- test/py/tests/test_fs/test_erofs.py | 211 +++++++++ tools/docker/Dockerfile | 1 + 26 files changed, 3269 insertions(+), 215 deletions(-) create mode 100644 cmd/erofs.c create mode 100644 fs/erofs/Kconfig create mode 100644 fs/erofs/Makefile create mode 100644 fs/erofs/data.c create mode 100644 fs/erofs/decompress.c create mode 100644 fs/erofs/decompress.h create mode 100644 fs/erofs/erofs_fs.h create mode 100644 fs/erofs/fs.c create mode 100644 fs/erofs/internal.h create mode 100644 fs/erofs/namei.c create mode 100644 fs/erofs/super.c create mode 100644 fs/erofs/zmap.c create mode 100644 include/erofs.h create mode 100644 test/py/tests/test_fs/test_erofs.py -- 2.25.1 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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2EF14C433F5 for ; Sat, 26 Feb 2022 07:06:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4F06083A5F; Sat, 26 Feb 2022 08:06:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="p6dk6ET4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 41C488380F; Sat, 26 Feb 2022 08:06:01 +0100 (CET) Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1B5E7837C9 for ; Sat, 26 Feb 2022 08:05:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jnhuang95@gmail.com Received: by mail-pf1-x42e.google.com with SMTP id u16so6586403pfg.12 for ; Fri, 25 Feb 2022 23:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=12pF2J7VBd40PUm9/P8/z1pEuEYwhjfpzTNllR1MSO8=; b=p6dk6ET4Fbcvyvu5WHqBCiTebJdb33LNQrnjkl53DesNTYAPqGHKKuUBqHQPh6yv6Y CqE+0q2WrjvLp4NdZchXp0xSEsYoX2Djza7UYLEdJungV53Y8+MIdpboPk90sBElzMCS Ow/yRNvR+l9tHq8GpTxEOpWR7ZQkzhRgtDIfDkHKanqXXYIWKkZOV237iCPGItuAWSit HhFG9RWleGj8w5W50hNNPEjSP7fPix7CsrrfrPY8j0tJ7X0fhgsBcAGg9hLGViX2k6mW pllY9wh/TXMoSHdBk/0ZCcqC9qCr83u2xOBBsK+duOLzKZIlr/ByvnWrB0py8OsYkILs WCTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=12pF2J7VBd40PUm9/P8/z1pEuEYwhjfpzTNllR1MSO8=; b=2cF1rp9fMRcaMGxePQFykvP8fZPv8IPcFVbdc7ZBsbvnEc2Sh98ZZjNDxUZfxo/HHi /CMi16+4ulgzbot5bq/lhRxunhfVIB7W1kDH0NRhZB6WRr4Vh1Tti9KI4rDE9WKgwjrP EDEFWsk7TcD8DiaBbo4haJb+cOyp2Gnck1kFnFOvG6lpRQ4rjfOgMgEIk/dI1TTwng2+ kaXuRLxHrhB5oEzEPkUZJnpR8GaP5X5J6+a/MkVM82FthyQq/pNEtiUaxf9L+zmbZfVf zA+Tx+wAlToMJYZvsZfYZQuBmr9J2JmG60nadfRC9mYpftNBC9a55MCoN7bUiPnZYd/u dDdg== X-Gm-Message-State: AOAM5301t07Y/2iKY9NFpup319hCzApml/YmlE+o1fPIBSoxES4rVc3B nL4GpjbhaUIqJ/Gr1saPT02Eq/o4qIAbMA== X-Google-Smtp-Source: ABdhPJyunwZkIIamynu+s2SqwmhCJLv7G/YpTBi0/PTU1Jj+zmg4jqVacwWpT8GMUt5dhB8eXbnygg== X-Received: by 2002:a63:e718:0:b0:34b:8596:4a0d with SMTP id b24-20020a63e718000000b0034b85964a0dmr9107387pgi.327.1645859156105; Fri, 25 Feb 2022 23:05:56 -0800 (PST) Received: from hjn-PC.localdomain (li1080-207.members.linode.com. [45.33.61.207]) by smtp.gmail.com with ESMTPSA id e20-20020a17090ab39400b001bc4f9ad3cbsm11044489pjr.3.2022.02.25.23.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 23:05:55 -0800 (PST) From: Huang Jianan To: u-boot@lists.denx.de, trini@konsulko.com Cc: linux-erofs@lists.ozlabs.org, xiang@kernel.org, Huang Jianan Subject: [PATCH v4 0/5] fs/erofs: new filesystem Date: Sat, 26 Feb 2022 15:05:46 +0800 Message-Id: <20220226070551.9833-1-jnhuang95@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Changes since v3: - update tools/docker/Dockerfile; Changes since v2: - sync up with erofs-utils 1.4; - update lib/lz4 to v1.8.3; - add test for filesystem functions; Changes since v1: - fix the inconsistency between From and SoB; - add missing license header; Huang Jianan (5): fs/erofs: add erofs filesystem support lib/lz4: update LZ4 decompressor module fs/erofs: add lz4 decompression support fs/erofs: add filesystem commands test/py: Add tests for the erofs MAINTAINERS | 9 + cmd/Kconfig | 6 + cmd/Makefile | 1 + cmd/erofs.c | 42 ++ configs/sandbox_defconfig | 1 + fs/Kconfig | 2 + fs/Makefile | 1 + fs/erofs/Kconfig | 21 + fs/erofs/Makefile | 9 + fs/erofs/data.c | 311 +++++++++++++ fs/erofs/decompress.c | 78 ++++ fs/erofs/decompress.h | 24 + fs/erofs/erofs_fs.h | 436 ++++++++++++++++++ fs/erofs/fs.c | 267 +++++++++++ fs/erofs/internal.h | 313 +++++++++++++ fs/erofs/namei.c | 252 +++++++++++ fs/erofs/super.c | 105 +++++ fs/erofs/zmap.c | 601 ++++++++++++++++++++++++ fs/fs.c | 22 + include/erofs.h | 19 + include/fs.h | 1 + include/u-boot/lz4.h | 49 ++ lib/lz4.c | 679 ++++++++++++++++++++-------- lib/lz4_wrapper.c | 23 +- test/py/tests/test_fs/test_erofs.py | 211 +++++++++ tools/docker/Dockerfile | 1 + 26 files changed, 3269 insertions(+), 215 deletions(-) create mode 100644 cmd/erofs.c create mode 100644 fs/erofs/Kconfig create mode 100644 fs/erofs/Makefile create mode 100644 fs/erofs/data.c create mode 100644 fs/erofs/decompress.c create mode 100644 fs/erofs/decompress.h create mode 100644 fs/erofs/erofs_fs.h create mode 100644 fs/erofs/fs.c create mode 100644 fs/erofs/internal.h create mode 100644 fs/erofs/namei.c create mode 100644 fs/erofs/super.c create mode 100644 fs/erofs/zmap.c create mode 100644 include/erofs.h create mode 100644 test/py/tests/test_fs/test_erofs.py -- 2.25.1