Re: PG_updatodate vs BH_updatodate

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

 



On Nov 21, 2008  23:03 +0100, Francis Moreau wrote:
> I'm wondering if there's any difference between these 2 flags except
> that one is a page flag and the other one is a buffer head flag.
> 
> But in my understanding these 2 flags means that the page contains
> uptodate data. So the buffer head flag seems useless since it could be
> calculated from bh->b_page->flags.

There may be multiple buffers on a single page, and in some cases one
buffer on a page can be uptodate while another buffer on the same page
is not.  This can be confusing at times, but I don't know if there is
any easy way to avoid it.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux