Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp719691ybb; Wed, 1 Apr 2020 08:25:00 -0700 (PDT) X-Google-Smtp-Source: APiQypKYPwWP/CIVQQCcj93i843vg9K6WiNvI1xKMg0PDMAQYcHZO3e01WQOZkaZBgs73THSaGSs X-Received: by 2002:aca:3dd7:: with SMTP id k206mr3240601oia.63.1585754700117; Wed, 01 Apr 2020 08:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585754700; cv=none; d=google.com; s=arc-20160816; b=aXwF40jKhPvK4RyFmRHL2hXPi4P5z9Oie9T+2SMUQJ7LCv+LraAQ2dGui34d48phJD v3qsQPdUGoSplVISbhiScSsmacALjSw9WE78UWMBecqGutFZ4Tw66vIRcVQKz9fhG26e 3Bzv0Sep/AxeQJ4pEH75j1uF1dBdvGAxHOwa10+9fQOWVXK0SiJO+GsYtRk89Zrcq5e2 HQAD6ZFXfT4UQC5ePoe2QxoiDEVtsZl2/wi45UsaHSO4xoLDn09iLwxGG927R4hbuFSV Zr6efTvKdltoFydvlEENt0v39vup8lSOMcbDFeGztSHkru1CNA3LIFXXKVIESGKgNs6k DRCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0wkSFGv6en52wWFSe07yb+PZwIeIvGqVaTSkYhMWwaE=; b=SMD1eAUceKZ11qvQsXJK273tUd5YPydBd3ezDdTIynj0T7n2kXc7DAmWoP+f5Ch1Rc 4RFdgC4FWxr19NXfpIZs+0eI+TFRMwIKCIQ3SnQSh/t4Q47Txrd4OGQpz3lpt1VTLEmx WpGLoyEPhjnkTtgfE2souXGyFqJgmk8iOWC5fgtN/xB0W00o3+LkymQawSSSrhqQIbir sNVA69TS9J00FENBTCcegSy4Sbir787F7VmF4EQH2B+y2srNmdnYctdTmV8LA/JooizK q8ygoYCGf5bu1Hi6OiXs9bnOCfCXsNli5HCixeskTM4++UOvuG57Tct1DpRFRGhjCLhc bIzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="D1po6vE/"; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x73si947670ooa.13.2020.04.01.08.24.37; Wed, 01 Apr 2020 08:25:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="D1po6vE/"; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732684AbgDAPUs (ORCPT + 99 others); Wed, 1 Apr 2020 11:20:48 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:54578 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732640AbgDAPUs (ORCPT ); Wed, 1 Apr 2020 11:20:48 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 031FJVI4011138; Wed, 1 Apr 2020 15:20:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=0wkSFGv6en52wWFSe07yb+PZwIeIvGqVaTSkYhMWwaE=; b=D1po6vE/SAPCIhj0HJXFNjCmnR3B0VjPZEPHaSb51H1W3fH31anBfwko9eQ6G4vdjp8c /vDsu+B7a01e2P6mdyqT2iXCjg3vB91NhFUfenzxMITfZlqZp73TLIH5B+KeqHVw2XiX AHPkpwP0Jqz2VxGr9Yw0JvmF2e1wVKcwOI1ojeQIdioP3SYTIkzPWJrjtsfTKGTRgC74 ZuNVCBcV6ycvcEOQaqj6hGXUHU+9obnhEig8QYd8ZfMS2s3ZTKZq0abW5yj4oHV4P+LD J3Ewf7iN3dB+KEzcqlgHiIMLhFgaAJ1rfy2fLMeGgqREhNPjiAiLQ8LXqXKVzBFB1KXE Ew== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 303cev647b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 01 Apr 2020 15:20:37 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 031FH64g042373; Wed, 1 Apr 2020 15:18:37 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 304sjkm4fp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 01 Apr 2020 15:18:36 +0000 Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 031FIZXQ026762; Wed, 1 Apr 2020 15:18:36 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 01 Apr 2020 08:18:35 -0700 Date: Wed, 1 Apr 2020 08:18:37 -0700 From: "Darrick J. Wong" To: David Howells Cc: tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org Subject: Re: Exporting ext4-specific information through fsinfo attributes Message-ID: <20200401151837.GB56931@magnolia> References: <2461554.1585726747@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2461554.1585726747@warthog.procyon.org.uk> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9578 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 adultscore=0 mlxscore=0 malwarescore=0 phishscore=0 suspectscore=0 mlxlogscore=782 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004010134 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9578 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 adultscore=0 clxscore=1015 phishscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 suspectscore=0 mlxscore=0 impostorscore=0 mlxlogscore=844 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004010134 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Apr 01, 2020 at 08:39:07AM +0100, David Howells wrote: > Hi Ted, > > Whilst we were at Vault, I asked you if there was any live ext4 information > that it could be useful to export through fsinfo(). I've implemented a patch > that exports six superblock timestamps: > > FSINFO_ATTR_EXT4_TIMESTAMPS: > mkfs : 2016-02-26 00:37:03 > mount : 2020-03-31 21:57:30 > write : 2020-03-31 21:57:28 > fsck : 2018-12-17 23:32:45 > 1st-err : - > last-err: - > > but is there anything else that could be of interest? The entire superblock as a binary blob? :) This way we can begin moving dumpe2fs/tune2fs away from reading the raw disk on live filesystems. (I'd make the same noises about xfs, but less urgently since we already have ioctls for that purpose.) --D > > Thanks, > David >