Received: from list by lists.gnu.org with archive (Exim 4.71) id 1bcfLG-0003BV-8f for mharc-grub-devel@gnu.org; Wed, 24 Aug 2016 17:04:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcfLD-0003AB-Mh for grub-devel@gnu.org; Wed, 24 Aug 2016 17:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcfL9-00017c-DE for grub-devel@gnu.org; Wed, 24 Aug 2016 17:04:06 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:34849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcfL9-00017X-59 for grub-devel@gnu.org; Wed, 24 Aug 2016 17:04:03 -0400 Received: by mail-lf0-x243.google.com with SMTP id l89so1513073lfi.2 for ; Wed, 24 Aug 2016 14:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=kPUqnkMYws8C7MC0rkPEqO5RJUWHIPTp3bL1DfChVs4=; b=i+f/CnGetb3sx3ZOMRD49gSrQe9KEkjcQbMS/yoH/Kh4DabVzrWoeNxkxFIIyVjRjb QfElmql0iYUSh9Xu5LkaCWI/6gQTgA76wnH+HQ1UeSBG3hEtm2WkmxFSmpJP1O2fbTRK p/fdS87+1zyNIgm5picexxKqCLV7zp7vQHygdmAA7fsmf+u9hCzqHRbS2tZOtXEfrfhR FT4UgpaASigWFsURRHittqMO/QOv6gIXEdDaq7pS+tq0Ka55rv+TeieAi1mVi4OxKaq+ PozUT/hD6u2IdVBrr9eAZf4VixwYcQxR9S+rNl0Z//QxmbYf/kn66B5EAc2l/oPRWMkb AkqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=kPUqnkMYws8C7MC0rkPEqO5RJUWHIPTp3bL1DfChVs4=; b=Q6DeWouHx/IVwNwaWOALs0kyOMSbIxt+msNxsIhxCcWsTBrusOuWfqbZI1At7uLdPw UkzLtqmHOao/h0NO7Vcf4OW48QCmZR7a5ZfBD9IJhEmbcVHQhafMdV5RAA/EbfFFuBMT yfEmkS7Kb8LfIDdpR2uOVXDGs7JdVYra7+pK++hYtrDmvE9pbSM8sjKoT2nko1/8bsfN s0Zm0Gw5jW4FfExnNhxBupL3CWz1VbscnmrqjrRKXLyEtEk6cQ+v75fMoFR73ofX5qwj 890fQsKoAdvAuJ+FkHq3SAdOq+ga26U+nKiziulVGnMaVRDCLofApEMVIE60IOJETxTv v53g== X-Gm-Message-State: AE9vXwNaCrMgMf3WN2Z+ens09SXxBlNmCW8GxUsrhAiUfq5v6WpfyMoOWyuDxR9n/PeR8w== X-Received: by 10.25.38.207 with SMTP id m198mr1585854lfm.201.1472072642221; Wed, 24 Aug 2016 14:04:02 -0700 (PDT) Received: from [192.168.1.44] (ppp109-252-91-231.pppoe.spdop.ru. [109.252.91.231]) by smtp.gmail.com with ESMTPSA id u21sm2287824lja.18.2016.08.24.14.04.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Aug 2016 14:04:01 -0700 (PDT) Subject: Re: [bug #48885] zfs_mount fails with `org.zfsonlinux:large_dnode` enabled: Unsupported features in pool To: Brian Behlendorf , Toomas Soome References: <20160824-172152.sv105496.85466@savannah.gnu.org> <57BDFF4C.60806@llnl.gov> Cc: The development of GNU GRUB , Ned Bass From: Andrei Borzenkov Message-ID: <14abee20-6157-76ec-d6c7-f2a6da73ab82@gmail.com> Date: Thu, 25 Aug 2016 00:04:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <57BDFF4C.60806@llnl.gov> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::243 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 21:04:08 -0000 24.08.2016 23:10, Brian Behlendorf пишет: > Thomas, > > You should be able to simply add 'org.zfsonlinux:large_dnode' to the > list of supported features. As long as the dataset property dnodesize > is set to legacy there won't be any on-disk format changes. The dnodes > on disk will still be 512 bytes in size and it will just leverage some > previously unused pad space in the dnode_phys_t. > > Since we were concerned about grub support the zfs command now prohibits > users from setting the dnodesize property to a non-legacy value for > datasets with the bootfs property set. > We have no way to restrict which filesystems users will access at boot time. Can we check value of this property in grub? > It shouldn't be a huge amount of work to fully support large dnode in > grub but simply allowing the feature flag and checking the property > should be enough for the vast majority of use cases. > It sounds like simply allowing this feature may access filesystem with incompatible on-disk format. Either we need additional checks for legacy format or we need full support for new format.