Re: [PATCH 18/19] io-controller: Debug hierarchical IO scheduling

From: Vivek Goyal
Date: Fri Jun 19 2009 - 10:06:29 EST


On Fri, Jun 19, 2009 at 09:40:38AM +0800, Gui Jianfeng wrote:

[..]
> > + * An entity has been freshly added to active tree. Either it came from
> > + * idle tree or it was not on any of the trees. Do the accounting.
> > + */
> > +static inline void bfq_account_for_entity_addition(struct io_entity *entity)
> > +{
> > + struct io_group *iog = io_entity_to_iog(entity);
> > +
> > + if (iog) {
> > + struct elv_fq_data *efqd;
> > + char path[128];
> > +
> > + /*
> > + * Keep track of how many times a group has been removed
> > + * from active tree because it did not have any active
> > + * backlogged ioq under it
> > + */
>
> Hi Vivek,
>
> Should the comment here be "added to" rather than "removed from"?

Yes, it is copy paste error. Fixed for next posting.

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