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