Re: [PATCH 06/12] writeback: remove unused nonblocking andcongestion checks (gfs2)

From: Steven Whitehouse
Date: Wed Nov 18 2009 - 06:11:40 EST


Hi,

On Wed, 2009-11-18 at 18:09 +0800, Wu Fengguang wrote:
> Hi Steven,
>
> On Wed, Nov 18, 2009 at 05:59:46PM +0800, Steven Whitehouse wrote:
> > Hi,
> >
> > That looks ok to me, modulo the warnings below. The only "non-obvious"
> > thing in this area which the GFS2 writepage[s] code relies upon is the
> > assumption that if we have a ->writepages() then ->writepage() will
> > never be called from a context which requires the fs to actually do a
> > write (i.e. the fs can refuse this if required). That is also only the
> > case for journaled data files - normal writes don't have that
> > requirement.
>
> Thank you for the tips. I don't think pageout() or migration
> writeout() has that hard expectation for ->writepage() :)
>
> > CC [M] fs/gfs2/aops.o
> > fs/gfs2/aops.c: In function âgfs2_write_jdata_pagevecâ:
> > fs/gfs2/aops.c:272: warning: unused variable âbdiâ
> > fs/gfs2/aops.c: In function âgfs2_write_cache_jdataâ:
> > fs/gfs2/aops.c:336: warning: unused variable âbdiâ
>
> Ah sorry!
>
> > Once the warnings are fixed:
> >
> > Acked-by: Steven Whitehouse <swhiteho@xxxxxxxxxx>
> >
> > Do you want me to add this patch into my tree, or were you planning to
> > submit via a different tree?
>
> Thanks, can you pull the updated patch directly to your tree?
>
Yes, its in my -nmw tree now. Thanks,

Steve.


--
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/