Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp730749rdb; Fri, 6 Oct 2023 18:26:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGgB14rNq0ay+mxXK0qFJAWDQ+c19BvAu/sF56oFq5s5eT04ahrFltqShO0CD/va0i1aesT X-Received: by 2002:a05:6a20:7343:b0:15d:d3b3:1843 with SMTP id v3-20020a056a20734300b0015dd3b31843mr10915911pzc.3.1696641987931; Fri, 06 Oct 2023 18:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696641987; cv=none; d=google.com; s=arc-20160816; b=UdP/ghiAbhleYD9HTLst1VpLriTQWf+762wSdwrKnNJI63VpK3YA7n1A9aS5daXo1y 57hacxalfvkM1InO/SBQnh8uGjeAyhKedrp8Qpg1g2+WOWwNosDVZRvyAeWACOVmHcOc cLK2ultTf1xQsxHMQtqFXthZEPvhZJbo0MKOqq2H6Nm/+wAw8kBozQ/gqV3BisR5Mgd+ TM2qZuBEdHpxozH7b5Uq4X7IaLBuodt68FKAjWk+Tljk/gOZa+1RrNquCmOIRkL/ScFf g3nP96cGF/YoBqK1koumxsjhNS8GGaGl3Co8dPn/+FtY0Ext2QaUeKG1DSQ+HVO4GWJI 92Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=lZr0lwJuo58MungWEu7BcqdVHBirMeagcssZqizoiGE=; fh=SS9R5+dRhzoye0jKdaI244DVzElG8xaYF0ECYyFzphc=; b=jNsXtU87jkkkEd6iBJHR5i2nEf4eTmAMK1mNFvvHwAnoObREXys0sEmifqvhto+kTz zWNTLLIe6x/If0O5XmdtzQ4FBbTAlOi1tiqM45HgDEYEKcHJ4htgCnHN8peEgMF/rmDy iwxyay3giKwRHEuKHzU8SVdHlhSbIWE4nvbdqc2BU+Y5rtIpUURp7yg5WolA6kUYec6T OwQ1L2whRJdrClW3NlyBqcjwgMNhdR2xCD6DlDXteJucjOLM6OnvmAArpxUxQ/LQosU/ jyGQrtE/TVdGQTIIYnH0T5C+dwJhllaWBKivdFfg/XiZOd4+QaZIPvvX96Z3XCJAVUU5 Acyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="akr/Et97"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id lp13-20020a17090b4a8d00b00274b23c2867si5333340pjb.58.2023.10.06.18.26.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 18:26:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="akr/Et97"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E6AEA80EE0D0; Fri, 6 Oct 2023 18:26:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234032AbjJGB0V (ORCPT + 99 others); Fri, 6 Oct 2023 21:26:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233822AbjJGB0T (ORCPT ); Fri, 6 Oct 2023 21:26:19 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7999BBD for ; Fri, 6 Oct 2023 18:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696641932; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lZr0lwJuo58MungWEu7BcqdVHBirMeagcssZqizoiGE=; b=akr/Et97UxnMyVswH4hCnur1RknmzWJaR7Vf9Ow8erx2ujn6tiQnsa+onxubo5CEMzcS/J pn+LM0pK+pwge7zlInwGqvvwOp1PbbrQuCIwj00Y5BEu4p8yW+Kl9biH797fOb2dDOErw7 7WtwYk09nUyKJkmWPtTmcAX+ANRGd8s= Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-357-KcPgeydVOmilRb7qahVtDg-1; Fri, 06 Oct 2023 21:25:30 -0400 X-MC-Unique: KcPgeydVOmilRb7qahVtDg-1 Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-1c62aa0a29fso26129545ad.3 for ; Fri, 06 Oct 2023 18:25:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696641929; x=1697246729; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lZr0lwJuo58MungWEu7BcqdVHBirMeagcssZqizoiGE=; b=bR73jxWTl871lyE20PKnU+nRCbscN0pw4j2JD6uZcbl4UWjAW7GitQFAPh5y5HHiyW MrkZd+L6Lv3BtOQbAqHzHRBHVrTU4PbblPGDntjkYVdub7spDe8A1u+kB9k4GRz3h7V+ RqhPpMUbK21fDSuGtqI17SX951KneBrH5ZnFh5EwWk2p15acxwncImqiBMMofLhPd12h AkaGAM+JqWjOVNGccF/KuAAo75D09OyMUYDW0wJ4dYpxkw8K7foiPwKnrBBZMa/jZp18 TurqGjMnPTEIDAAlBSBHWGah90WWtuU+keks1V0efBA9xGLvlSoVPuwDwS2yASkBL7vz pctg== X-Gm-Message-State: AOJu0Yzgo1jIqT32bUeZPjBse8nz7v4KOggfCMmv5DePSwl0R2G5T8Oy c75bW/RQ8bIap7tWlETmAS/ahecju8oKgbJB6RZGMNzc+19SVyEMiWkNEHhHkACq4LPOAvhmuui bNphj6ZvG2xEJKsEESPefe0KR X-Received: by 2002:a17:902:864c:b0:1bd:da96:dc70 with SMTP id y12-20020a170902864c00b001bdda96dc70mr9461222plt.49.1696641929422; Fri, 06 Oct 2023 18:25:29 -0700 (PDT) X-Received: by 2002:a17:902:864c:b0:1bd:da96:dc70 with SMTP id y12-20020a170902864c00b001bdda96dc70mr9461212plt.49.1696641929063; Fri, 06 Oct 2023 18:25:29 -0700 (PDT) Received: from [10.72.112.33] ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id b1-20020a170902ed0100b001c735421215sm4566095pld.216.2023.10.06.18.25.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Oct 2023 18:25:28 -0700 (PDT) Message-ID: <6b6fb023-4f3f-f806-c7be-345e1bd7a6d7@redhat.com> Date: Sat, 7 Oct 2023 09:25:24 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2 24/89] ceph: convert to new timestamp accessors Content-Language: en-US To: Jeff Layton , Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ceph-devel@vger.kernel.org References: <20231004185221.80802-1-jlayton@kernel.org> <20231004185347.80880-1-jlayton@kernel.org> <20231004185347.80880-22-jlayton@kernel.org> From: Xiubo Li In-Reply-To: <20231004185347.80880-22-jlayton@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 18:26:27 -0700 (PDT) On 10/5/23 02:52, Jeff Layton wrote: > Convert to using the new inode timestamp accessor functions. > > Signed-off-by: Jeff Layton > --- > fs/ceph/addr.c | 10 +++---- > fs/ceph/caps.c | 4 +-- > fs/ceph/file.c | 2 +- > fs/ceph/inode.c | 64 ++++++++++++++++++++++++-------------------- > fs/ceph/mds_client.c | 8 ++++-- > fs/ceph/snap.c | 4 +-- > 6 files changed, 51 insertions(+), 41 deletions(-) > > diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c > index f4863078f7fe..936b9e0b351d 100644 > --- a/fs/ceph/addr.c > +++ b/fs/ceph/addr.c > @@ -750,7 +750,7 @@ static int writepage_nounlock(struct page *page, struct writeback_control *wbc) > dout("writepage %llu~%llu (%llu bytes, %sencrypted)\n", > page_off, len, wlen, IS_ENCRYPTED(inode) ? "" : "not "); > > - req->r_mtime = inode->i_mtime; > + req->r_mtime = inode_get_mtime(inode); > ceph_osdc_start_request(osdc, req); > err = ceph_osdc_wait_request(osdc, req); > > @@ -1327,7 +1327,7 @@ static int ceph_writepages_start(struct address_space *mapping, > pages = NULL; > } > > - req->r_mtime = inode->i_mtime; > + req->r_mtime = inode_get_mtime(inode); > ceph_osdc_start_request(&fsc->client->osdc, req); > req = NULL; > > @@ -1875,7 +1875,7 @@ int ceph_uninline_data(struct file *file) > goto out_unlock; > } > > - req->r_mtime = inode->i_mtime; > + req->r_mtime = inode_get_mtime(inode); > ceph_osdc_start_request(&fsc->client->osdc, req); > err = ceph_osdc_wait_request(&fsc->client->osdc, req); > ceph_osdc_put_request(req); > @@ -1917,7 +1917,7 @@ int ceph_uninline_data(struct file *file) > goto out_put_req; > } > > - req->r_mtime = inode->i_mtime; > + req->r_mtime = inode_get_mtime(inode); > ceph_osdc_start_request(&fsc->client->osdc, req); > err = ceph_osdc_wait_request(&fsc->client->osdc, req); > > @@ -2092,7 +2092,7 @@ static int __ceph_pool_perm_get(struct ceph_inode_info *ci, > 0, false, true); > ceph_osdc_start_request(&fsc->client->osdc, rd_req); > > - wr_req->r_mtime = ci->netfs.inode.i_mtime; > + wr_req->r_mtime = inode_get_mtime(&ci->netfs.inode); > ceph_osdc_start_request(&fsc->client->osdc, wr_req); > > err = ceph_osdc_wait_request(&fsc->client->osdc, rd_req); > diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c > index 14215ec646f7..a104669fcf4c 100644 > --- a/fs/ceph/caps.c > +++ b/fs/ceph/caps.c > @@ -1421,8 +1421,8 @@ static void __prep_cap(struct cap_msg_args *arg, struct ceph_cap *cap, > arg->old_xattr_buf = NULL; > } > > - arg->mtime = inode->i_mtime; > - arg->atime = inode->i_atime; > + arg->mtime = inode_get_mtime(inode); > + arg->atime = inode_get_atime(inode); > arg->ctime = inode_get_ctime(inode); > arg->btime = ci->i_btime; > arg->change_attr = inode_peek_iversion_raw(inode); > diff --git a/fs/ceph/file.c b/fs/ceph/file.c > index b1da02f5dbe3..b96d4e74ae99 100644 > --- a/fs/ceph/file.c > +++ b/fs/ceph/file.c > @@ -2489,7 +2489,7 @@ static int ceph_zero_partial_object(struct inode *inode, > goto out; > } > > - req->r_mtime = inode->i_mtime; > + req->r_mtime = inode_get_mtime(inode); > ceph_osdc_start_request(&fsc->client->osdc, req); > ret = ceph_osdc_wait_request(&fsc->client->osdc, req); > if (ret == -ENOENT) > diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c > index 800ab7920513..e846752b9a1f 100644 > --- a/fs/ceph/inode.c > +++ b/fs/ceph/inode.c > @@ -185,9 +185,9 @@ struct inode *ceph_get_snapdir(struct inode *parent) > inode->i_mode = parent->i_mode; > inode->i_uid = parent->i_uid; > inode->i_gid = parent->i_gid; > - inode->i_mtime = parent->i_mtime; > + inode_set_mtime_to_ts(inode, inode_get_mtime(parent)); > inode_set_ctime_to_ts(inode, inode_get_ctime(parent)); > - inode->i_atime = parent->i_atime; > + inode_set_atime_to_ts(inode, inode_get_atime(parent)); > ci->i_rbytes = 0; > ci->i_btime = ceph_inode(parent)->i_btime; > > @@ -837,28 +837,31 @@ void ceph_fill_file_time(struct inode *inode, int issued, > /* the MDS did a utimes() */ > dout("mtime %lld.%09ld -> %lld.%09ld " > "tw %d -> %d\n", > - inode->i_mtime.tv_sec, inode->i_mtime.tv_nsec, > + inode_get_mtime_sec(inode), > + inode_get_mtime_nsec(inode), > mtime->tv_sec, mtime->tv_nsec, > ci->i_time_warp_seq, (int)time_warp_seq); > > - inode->i_mtime = *mtime; > - inode->i_atime = *atime; > + inode_set_mtime_to_ts(inode, *mtime); > + inode_set_atime_to_ts(inode, *atime); > ci->i_time_warp_seq = time_warp_seq; > } else if (time_warp_seq == ci->i_time_warp_seq) { > + struct timespec64 ts; > + > /* nobody did utimes(); take the max */ > - if (timespec64_compare(mtime, &inode->i_mtime) > 0) { > + ts = inode_get_mtime(inode); > + if (timespec64_compare(mtime, &ts) > 0) { > dout("mtime %lld.%09ld -> %lld.%09ld inc\n", > - inode->i_mtime.tv_sec, > - inode->i_mtime.tv_nsec, > + ts.tv_sec, ts.tv_nsec, > mtime->tv_sec, mtime->tv_nsec); > - inode->i_mtime = *mtime; > + inode_set_mtime_to_ts(inode, *mtime); > } > - if (timespec64_compare(atime, &inode->i_atime) > 0) { > + ts = inode_get_atime(inode); > + if (timespec64_compare(atime, &ts) > 0) { > dout("atime %lld.%09ld -> %lld.%09ld inc\n", > - inode->i_atime.tv_sec, > - inode->i_atime.tv_nsec, > + ts.tv_sec, ts.tv_nsec, > atime->tv_sec, atime->tv_nsec); > - inode->i_atime = *atime; > + inode_set_atime_to_ts(inode, *atime); > } > } else if (issued & CEPH_CAP_FILE_EXCL) { > /* we did a utimes(); ignore mds values */ > @@ -869,8 +872,8 @@ void ceph_fill_file_time(struct inode *inode, int issued, > /* we have no write|excl caps; whatever the MDS says is true */ > if (ceph_seq_cmp(time_warp_seq, ci->i_time_warp_seq) >= 0) { > inode_set_ctime_to_ts(inode, *ctime); > - inode->i_mtime = *mtime; > - inode->i_atime = *atime; > + inode_set_mtime_to_ts(inode, *mtime); > + inode_set_atime_to_ts(inode, *atime); > ci->i_time_warp_seq = time_warp_seq; > } else { > warn = 1; > @@ -2553,20 +2556,22 @@ int __ceph_setattr(struct inode *inode, struct iattr *attr, > } > > if (ia_valid & ATTR_ATIME) { > + struct timespec64 atime = inode_get_atime(inode); > + > dout("setattr %p atime %lld.%ld -> %lld.%ld\n", inode, > - inode->i_atime.tv_sec, inode->i_atime.tv_nsec, > + atime.tv_sec, atime.tv_nsec, > attr->ia_atime.tv_sec, attr->ia_atime.tv_nsec); > if (issued & CEPH_CAP_FILE_EXCL) { > ci->i_time_warp_seq++; > - inode->i_atime = attr->ia_atime; > + inode_set_atime_to_ts(inode, attr->ia_atime); > dirtied |= CEPH_CAP_FILE_EXCL; > } else if ((issued & CEPH_CAP_FILE_WR) && > - timespec64_compare(&inode->i_atime, > - &attr->ia_atime) < 0) { > - inode->i_atime = attr->ia_atime; > + timespec64_compare(&atime, > + &attr->ia_atime) < 0) { > + inode_set_atime_to_ts(inode, attr->ia_atime); > dirtied |= CEPH_CAP_FILE_WR; > } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || > - !timespec64_equal(&inode->i_atime, &attr->ia_atime)) { > + !timespec64_equal(&atime, &attr->ia_atime)) { > ceph_encode_timespec64(&req->r_args.setattr.atime, > &attr->ia_atime); > mask |= CEPH_SETATTR_ATIME; > @@ -2626,20 +2631,21 @@ int __ceph_setattr(struct inode *inode, struct iattr *attr, > } > } > if (ia_valid & ATTR_MTIME) { > + struct timespec64 mtime = inode_get_mtime(inode); > + > dout("setattr %p mtime %lld.%ld -> %lld.%ld\n", inode, > - inode->i_mtime.tv_sec, inode->i_mtime.tv_nsec, > + mtime.tv_sec, mtime.tv_nsec, > attr->ia_mtime.tv_sec, attr->ia_mtime.tv_nsec); > if (issued & CEPH_CAP_FILE_EXCL) { > ci->i_time_warp_seq++; > - inode->i_mtime = attr->ia_mtime; > + inode_set_mtime_to_ts(inode, attr->ia_mtime); > dirtied |= CEPH_CAP_FILE_EXCL; > } else if ((issued & CEPH_CAP_FILE_WR) && > - timespec64_compare(&inode->i_mtime, > - &attr->ia_mtime) < 0) { > - inode->i_mtime = attr->ia_mtime; > + timespec64_compare(&mtime, &attr->ia_mtime) < 0) { > + inode_set_mtime_to_ts(inode, attr->ia_mtime); > dirtied |= CEPH_CAP_FILE_WR; > } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || > - !timespec64_equal(&inode->i_mtime, &attr->ia_mtime)) { > + !timespec64_equal(&mtime, &attr->ia_mtime)) { > ceph_encode_timespec64(&req->r_args.setattr.mtime, > &attr->ia_mtime); > mask |= CEPH_SETATTR_MTIME; > @@ -2653,8 +2659,8 @@ int __ceph_setattr(struct inode *inode, struct iattr *attr, > bool only = (ia_valid & (ATTR_SIZE|ATTR_MTIME|ATTR_ATIME| > ATTR_MODE|ATTR_UID|ATTR_GID)) == 0; > dout("setattr %p ctime %lld.%ld -> %lld.%ld (%s)\n", inode, > - inode_get_ctime(inode).tv_sec, > - inode_get_ctime(inode).tv_nsec, > + inode_get_ctime_sec(inode), > + inode_get_ctime_nsec(inode), > attr->ia_ctime.tv_sec, attr->ia_ctime.tv_nsec, > only ? "ctime only" : "ignored"); > if (only) { > diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c > index 615db141b6c4..e4cfa3b02187 100644 > --- a/fs/ceph/mds_client.c > +++ b/fs/ceph/mds_client.c > @@ -4353,12 +4353,16 @@ static int reconnect_caps_cb(struct inode *inode, int mds, void *arg) > rec.v2.flock_len = (__force __le32) > ((ci->i_ceph_flags & CEPH_I_ERROR_FILELOCK) ? 0 : 1); > } else { > + struct timespec64 ts; > + > rec.v1.cap_id = cpu_to_le64(cap->cap_id); > rec.v1.wanted = cpu_to_le32(__ceph_caps_wanted(ci)); > rec.v1.issued = cpu_to_le32(cap->issued); > rec.v1.size = cpu_to_le64(i_size_read(inode)); > - ceph_encode_timespec64(&rec.v1.mtime, &inode->i_mtime); > - ceph_encode_timespec64(&rec.v1.atime, &inode->i_atime); > + ts = inode_get_mtime(inode); > + ceph_encode_timespec64(&rec.v1.mtime, &ts); > + ts = inode_get_atime(inode); > + ceph_encode_timespec64(&rec.v1.atime, &ts); > rec.v1.snaprealm = cpu_to_le64(ci->i_snap_realm->ino); > rec.v1.pathbase = cpu_to_le64(pathbase); > } > diff --git a/fs/ceph/snap.c b/fs/ceph/snap.c > index 813f21add992..6732e1ea97d9 100644 > --- a/fs/ceph/snap.c > +++ b/fs/ceph/snap.c > @@ -658,8 +658,8 @@ int __ceph_finish_cap_snap(struct ceph_inode_info *ci, > > BUG_ON(capsnap->writing); > capsnap->size = i_size_read(inode); > - capsnap->mtime = inode->i_mtime; > - capsnap->atime = inode->i_atime; > + capsnap->mtime = inode_get_mtime(inode); > + capsnap->atime = inode_get_atime(inode); > capsnap->ctime = inode_get_ctime(inode); > capsnap->btime = ci->i_btime; > capsnap->change_attr = inode_peek_iversion_raw(inode); LGTM. Thanks Jeff. - Xiubo