Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2973827rdb; Mon, 4 Dec 2023 12:45:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IGCNyrr0xClcCz3nx2QL1hOxz97puEeGFMeLoNpT59sRzYeJ8FtKWpV6Oijn517zl/OEsui X-Received: by 2002:a05:6a21:7894:b0:187:c3db:8999 with SMTP id bf20-20020a056a21789400b00187c3db8999mr6103639pzc.45.1701722747448; Mon, 04 Dec 2023 12:45:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701722747; cv=none; d=google.com; s=arc-20160816; b=UTxFDab7LhzF9seXzDxanFNFUFt4WOBSfe5qwtYpOBXDyVJJrg4TBSSXQTGAQf4oqH vqVk9iVGITK+B1wo6X9VZqKeiwjKyFzdYL5f30mYbe/jTLpB9NpXqhAVO42PCyzhgx/k 6Zh4IrnLt4MKcrJGGrhjqY5tSoN/ajbGbnfdi7a9cE5cU0JgojZHKF+sHbfKwECJHZZE PTcHM5AXDj70f363c5V/tuoK/v+7Kx046J2J88H1DHdBm4ufm9cJtPZ9CSsIxaWnAQZt 9/k3YqZJi6a11eecDJngH+syNBYvL1A/LArLCDNhIDN7VOI7914g/SdwuMmV9PBbhrpl zFTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=iNxi9YFoE+NFrYyEyt9VqzHqEkE9JjNfNvXKaqpwd4g=; fh=mdab4ahWsDCBW6TxExyyf0uD+lAuhesp930mFs5jb0c=; b=uGCWgyd6YETgPKNN3oubxSSsV7s/By9BGnAn6n6tV4+6Bbges5GYUSJ1dMB4gquiwc G2GOAEeqoXc1OAF8/s1XlDxDc5SA45q3MdaojKV0PZCz1xE53kGm9MiSjNd6nj+kv3y0 7eJ1hgpzHr+niCFCmXW5M/VzoFz5RjaHQGRr6+EcPq7KqJJzYE2+hBTwtDh3iSnXWCIu grxzVmDYkDgVlBRlZLxPnakTdG9snGrhr+aiZPGzYb36YYQ409TuWCqkE9mGGDB1yoQC ZppHUiKSNC3M97oeAqr/bzp0DBlZTuMjNdGCUICa21BXVdnWDFOv1sJa/NM2tjzExndg IR+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=nl1NyELr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id o7-20020a056a0015c700b006ce010d03d3si1569279pfu.303.2023.12.04.12.45.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 12:45:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=nl1NyELr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 751E38076CB1; Mon, 4 Dec 2023 12:45:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231451AbjLDUo5 (ORCPT + 99 others); Mon, 4 Dec 2023 15:44:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235554AbjLDUoq (ORCPT ); Mon, 4 Dec 2023 15:44:46 -0500 Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5711C1713 for ; Mon, 4 Dec 2023 12:43:16 -0800 (PST) Date: Mon, 4 Dec 2023 15:43:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1701722594; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iNxi9YFoE+NFrYyEyt9VqzHqEkE9JjNfNvXKaqpwd4g=; b=nl1NyELrv3nsiKkitJ33uf9fp/+L+jBXAGY1L1gWDkJrMYlkMS+08UGW2j/4gAbpK9KyRI 0zbhh1uqzYxRKPCC1VX7ugX3IeAGsWvil9OC6pseWy5z5kdLlMtbB+8HOYSmqBVAJzRsVB RBJFfWpZaNJwHbDxRn57lvP1VUWZMwY= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Donald Buczek Cc: Brian Foster , linux-bcachefs@vger.kernel.org, Linux Kernel Mailing List , Stefan Krueger Subject: Re: [bcachefs] [bug]: missing subvolume 0 Message-ID: <20231204204311.6mjsokq5z5uk6weg@moria.home.lan> References: <5cc5076e-3a85-48e2-b75f-a3d1021f531e@molgen.mpg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5cc5076e-3a85-48e2-b75f-a3d1021f531e@molgen.mpg.de> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 04 Dec 2023 12:45:17 -0800 (PST) On Mon, Dec 04, 2023 at 12:03:26PM +0100, Donald Buczek wrote: > Reporting to maintainer.pl list, hope that's correct? > > Probably, this is a trivial one: > Linux 6.7.0-rc4. > > buczek@dose:~$ sudo bcachefs format /dev/vdb > External UUID: d5181483-dc0c-4781-a266-ef830fa3c099 > Internal UUID: d96e4b19-43f3-4a5b-bc5c-3fe2b726b1ef > [...] > buczek@dose:~$ sudo bcachefs mount /dev/vdb /mnt > buczek@dose:~$ sudo chmod a=rwxt /mnt > buczek@dose:~$ mkdir /mnt/d > buczek@dose:~$ bcachefs subvolume snapshot /mnt/d/snp1 > BCH_IOCTL_SUBVOLUME_CREATE ioctl error: No such file or directory > buczek@dose:~$ dmesg|tail -10 > [ 7477.587299] bcachefs (vdb): mounting version 1.3: rebalance_work > [ 7477.589134] bcachefs (vdb): recovering from clean shutdown, journal seq 14 > [ 7477.608861] bcachefs (vdb): alloc_read... done > [ 7477.610525] bcachefs (vdb): stripes_read... done > [ 7477.612037] bcachefs (vdb): snapshots_read... done > [ 7477.644331] bcachefs (vdb): journal_replay... done > [ 7477.645940] bcachefs (vdb): resume_logged_ops... done > [ 7477.650087] bcachefs (vdb): going read-write > [ 7514.113568] bcachefs (vdb): missing subvolume 0 > [ 7514.115121] bcachefs (vdb): inconsistency detected - emergency read only > buczek@dose:~$ So the "no source argument" version is completely unimplemented, and I never noticed - so thanks for the report :) I'll have to disable that code path for now and get back to it when I'm a bit less distracted, the patch so that we don't go -EROFS will go out in the next bugfix pull request...