From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (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.proxmox.com (Postfix) with ESMTPS id 6D1AB60602 for ; Thu, 8 Oct 2020 08:45:37 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 5B4ADB4DE for ; Thu, 8 Oct 2020 08:45:37 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (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 firstgate.proxmox.com (Proxmox) with ESMTPS id 398C4B4CE for ; Thu, 8 Oct 2020 08:45:35 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id F323845BEC for ; Thu, 8 Oct 2020 08:45:34 +0200 (CEST) Date: Thu, 8 Oct 2020 08:45:23 +0200 (CEST) From: Dietmar Maurer To: Proxmox Backup Server development discussion , Stefan Reiter Message-ID: <1575669072.334.1602139524315@webmail.proxmox.com> In-Reply-To: <20201007115308.6275-1-s.reiter@proxmox.com> References: <20201007115308.6275-1-s.reiter@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.4-Rev10 X-Originating-Client: open-xchange-appsuite X-SPAM-LEVEL: Spam detection results: 0 AWL 0.074 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com, mount.rs, format.rs, loopdev.rs, proxmox-backup-client.rs] Subject: [pbs-devel] applied: [PATCH 0/7] fuse_loop cleanups and named mappings X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2020 06:45:37 -0000 applied > On 10/07/2020 1:53 PM Stefan Reiter wrote: > > > First three patches are independent cleanups/documentation. > > Patch 4 is the meat of the matter, switching over to using names generated from > the mapped image to identify mappings. This allows easier unmap by having a > specific tab-completion handler. Also allows listing all current mappings and > where they are mapped to with the 'unmap' command without parameters. > > The last 3 patches are for better cleanup handling. With all three in place I > could not come up with a realistic situation in which a user would have to rely > on external tools to cancel a connection or clean up. > > > proxmox-backup: Stefan Reiter (7): > format: fix typo in function name > fuse_loop: add documentation > loopdev: add module doc > mount/map: use names for map/unmap for easier use > fuse_loop: add automatic cleanup of run files and dangling instances > fuse_loop: wait for instance to close after killing > fuse_loop: handle unmap on crashed instance > > src/bin/proxmox-backup-client.rs | 6 +- > src/bin/proxmox_backup_client/mount.rs | 58 +++++- > src/client/backup_writer.rs | 2 +- > src/tools/format.rs | 4 +- > src/tools/fuse_loop.rs | 257 ++++++++++++++++++++----- > src/tools/loopdev.rs | 2 + > 6 files changed, 268 insertions(+), 61 deletions(-) > > -- > 2.20.1 > > > _______________________________________________ > pbs-devel mailing list > pbs-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel