Re: [PATCH] mds: update backtrace when old format inode is touched

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Aug 22, 2013, "Yan, Zheng" <zheng.z.yan@xxxxxxxxx> wrote:

> We updated inode format version to 7 when introducing inode backtrace.
> If we found a inode's format version < 7 when fetching the inode, set
> the inode's backtrace_version to 0, to indicate the inode's backtrace
> is out of data. When touching a inode with backtrace_version == 0, we
> also update its backtrace.

> +  if (pi->backtrace_version == 0)
> +    pi->update_backtrace();
   
AFAICT all this does is to update the backtrace version number in the
cached-in-memory inode.  What am I missing?  Or is the code missing
something? :-)

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux