The relationship between flag: BH_Uptodate & BH_Dirty in buffer_head

From: cyhung . cs00g
Date: Fri Dec 21 2012 - 22:53:06 EST


Hi, all

I want ask a question.

As we know, structure buffer_head has a member called b_state.
And this state could be defined by many flags.

The question is that, I want to know the relationship between BH_Uptodate
& BH_Dirty.

If a data is verified, the BH_Dirty will setup, and what about BH_Uptodate?

Under what circumstance the BH_Uptodate would be set up?


Thanks. :)

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