Commit dadf196c authored by Russell Cattelan's avatar Russell Cattelan Committed by Nathan Scott

[XFS] narrow down comment

SGI Modid: 2.5.x-xfs:slinx:131504a
parent 980eab8d
......@@ -352,23 +352,20 @@ cluster_write(
* page ready for freeing it's buffers. When called with startio set then
* we are coming from writepage.
*
* When called with startio e.g. from write page it is important that we write WHOLE page if
* possible. The bh->b_state's can not know of any of the blocks or which block for that matter
* are dirty due to map writes, and therefore bh uptodate is only vaild if the page
* itself isn't completely uptodate. Some layers may clear the page dirty flag prior to
* calling write page under the assumption the entire page will be written out, by not writing
* out the whole page the page can be reused before all vaild dirty data is written out.
* Note: in the case of a page that has been dirty'd by mapwrite and but partially setup by
* block_prepare_write the bh->b_states's will not agree and only ones setup by BPW/BCW will have
* When called with startio e.g. from
* write page it is important that we write WHOLE page if possible. The
* bh->b_state's can not know of any of the blocks or which block for
* that matter are dirty due to map writes, and therefore bh uptodate is
* only vaild if the pagei itself isn't completely uptodate. Some layers
* may clear the page dirty flag prior to calling write page under the
* assumption the entire page will be written out, by not writing out the
* whole page the page can be reused before all vaild dirty data is
* written out. Note: in the case of a page that has been dirty'd by
* mapwrite and but partially setup by block_prepare_write the
* bh->b_states's will not agree and only ones setup by BPW/BCW will have
* valid state, thus the whole page must be written out thing.
*/
STATIC int
delalloc_convert(
struct page *page,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment