<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>28767</bug_id>
          
          <creation_ts>2013-03-30 20:30:24 +0400</creation_ts>
          <short_desc>fuse doesn&apos;t process inode numbers properly on 32 bit platforms</short_desc>
          <delta_ts>2013-04-01 01:25:39 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>kernel-image-ovz-el</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pavel Shilovsky">piastryyy</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>kernelbot</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>mithraen</cc>
    
    <cc>rider</cc>
    
    <cc>sbolshakov</cc>
    
    <cc>shrek</cc>
    
    <cc>sin</cc>
    
    <cc>vitty</cc>
    
    <cc>vsu</cc>
    
    <cc>vt</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>139171</commentid>
    <comment_count>0</comment_count>
    <who name="Pavel Shilovsky">piastryyy</who>
    <bug_when>2013-03-30 20:30:24 +0400</bug_when>
    <thetext>This is a copy of the bug from Red Hat Bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=872629). There is no activity there for a while - that&apos;s why I am posting it here.

RHEL OpenVZ kernel doesn&apos;t process fuse inode numbers properly:

Now it stores attr-&gt;ino at inode-&gt;i_ino, returns attr-&gt;ino at the first time and then returns inode-&gt;i_ino if the attribute timeout isn&apos;t expired. That&apos;s wrong on 32 bit platforms because attr-&gt;ino is 64 bit and inode-&gt;i_ino is 32 bit in this case.

It can cause problems e.g. with NFS server running on top of GluserFS that gets different inode numbers time by time:
&quot;NFS: server server error: fileid changed&quot;

I have a patch &quot;fuse: fix stat call on 32 bit platforms&quot; that fixes this problem by saving 64 bit ino in fuse_inode structure and returning it everything when getattr comes. Also squash attr-&gt;ino into inode-&gt;i_ino explicitly.

The patch was merged into the mainline and some stable releases (v3.0.35, v3.2.21, v3.4.3 and v2.6.32.60 too) but I don&apos;t see it in the latest RHEL OpenVZ kernel patch for 2.6.32 kernel.

The commit id in mainline: 45c72cd73c788dd18c8113d4a404d6b4a01decf1

The link to the commit merged into 2.6.32.60 kernel:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=db8a784af98d392a51fa25bb651bf90a982044e3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>139189</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2013-04-01 01:25:39 +0400</bug_when>
    <thetext>kernel-image-ovz-el-2.6.32-alt85 -&gt; sisyphus:

* Sun Mar 31 2013 Led &lt;led@altlinux&gt; 2.6.32-alt85
- fuse: fix stat call on 32 bit platforms (ALT#28767)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>