Re: [PATCH 12/49] writeback: move backing_dev_info->bdi_stat[] into bdi_writeback

Jan Kara
2015-04-21T08:51:32Z

On Mon 20-04-15 13:56:26, Tejun Heo wrote:
> On Mon, Apr 20, 2015 at 05:02:31PM +0200, Jan Kara wrote:
> > Maybe bdi_wb_destroy() would be somewhat more descriptive than
> > bdi_wb_exit()? Otherwise the patch looks good to me. You can add:
> > Reviewed-by: Jan Kara <jack@suse.cz>
>
> Hmmm... maybe, I don't know. I feel weird matching up destroy with
> init instead of create. Why is exit weird?
I can easily understand what "initializing writeback structure" means but
"exiting writeback structure" doesn't really make sense to me. OTOH
"destroying writeback structure" does make sense to me. That's the only
reason.

Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR