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
...@@ -350,25 +350,22 @@ cluster_write( ...@@ -350,25 +350,22 @@ cluster_write(
/* /*
* Calling this without startio set means we are being asked to make a dirty * Calling this without startio set means we are being asked to make a dirty
* page ready for freeing it's buffers. When called with startio set then * page ready for freeing it's buffers. When called with startio set then
* we are coming from writepage. * we are coming from writepage.
* *
* When called with startio e.g. from write page it is important that we write WHOLE page if * When called with startio e.g. from
* possible. The bh->b_state's can not know of any of the blocks or which block for that matter * write page it is important that we write WHOLE page if possible. The
* are dirty due to map writes, and therefore bh uptodate is only vaild if the page * bh->b_state's can not know of any of the blocks or which block for
* itself isn't completely uptodate. Some layers may clear the page dirty flag prior to * that matter are dirty due to map writes, and therefore bh uptodate is
* calling write page under the assumption the entire page will be written out, by not writing * only vaild if the pagei itself isn't completely uptodate. Some layers
* out the whole page the page can be reused before all vaild dirty data is written out. * may clear the page dirty flag prior to calling write page under the
* Note: in the case of a page that has been dirty'd by mapwrite and but partially setup by * assumption the entire page will be written out, by not writing out the
* block_prepare_write the bh->b_states's will not agree and only ones setup by BPW/BCW will have * 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. * valid state, thus the whole page must be written out thing.
*/ */
STATIC int STATIC int
delalloc_convert( delalloc_convert(
struct page *page, 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