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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D77ACC433EF for ; Sun, 15 May 2022 10:55:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236377AbiEOKzX (ORCPT ); Sun, 15 May 2022 06:55:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233214AbiEOKzW (ORCPT ); Sun, 15 May 2022 06:55:22 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF1731573F for ; Sun, 15 May 2022 03:55:20 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id DDBEF1F8A3 for ; Sun, 15 May 2022 10:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1652612118; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=e6Msa0Un3G8MuWNqDe7zey6Q2PNMNby5uWLlDeLdxqY=; b=UVG1HdsktsjJt8qh61EMNoidNGO/f1+Gmxkb3rU0n+pR8ihCcLrmfmIdoGawXQDrpiDlqK pnt3T8nmyBdNyDzmgZxErHJf+NfcnvUhuE742tfsaCNryOfgH9NIiYQ8mAmraenneMZzx9 x8hJcMtlJwV3MXL+xjSfSTYzL7Djfrw= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3DBBF13491 for ; Sun, 15 May 2022 10:55:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Iw5pAhbcgGLsfQAAMHmgww (envelope-from ) for ; Sun, 15 May 2022 10:55:18 +0000 From: Qu Wenruo To: linux-btrfs@vger.kernel.org Subject: [PATCH 0/5] btrfs-progs: almost full support for RAID56J profiles Date: Sun, 15 May 2022 18:54:55 +0800 Message-Id: X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org This is the progs companion for the new RAID56J profiles. Unlike kernel part, progs doesn't really need to implement the full journal, thus the following basic features should be enough: - Mkfs support - Check support (both original and lowmem mode) - Print tree support The final patch is a fix for a leakage of path which is exposed during kernel development. Qu Wenruo (5): btrfs-progs: introduce the basic support for RAID56J feature btrfs-progs: mkfs: add support for RAID56J creation btrfs-progs: check: take per device reservation into consideration btrfs-progs: print-tree: add support for per_dev_reserved of chunk item btrfs-progs: check/lowmem: fix path leakage when dev extents are invalid check/common.h | 7 ++- check/main.c | 16 ++++-- check/mode-lowmem.c | 17 ++++-- cmds/filesystem-usage.c | 6 ++- cmds/rescue-chunk-recover.c | 13 +++-- common/fsfeatures.c | 9 ++++ common/utils.c | 6 ++- kernel-shared/ctree.h | 42 +++++++++++++-- kernel-shared/extent-tree.c | 18 +++++-- kernel-shared/print-tree.c | 5 +- kernel-shared/volumes.c | 105 +++++++++++++++++++++++++++++++----- kernel-shared/volumes.h | 2 + mkfs/main.c | 3 ++ 13 files changed, 205 insertions(+), 44 deletions(-) -- 2.36.1