Re: [PATCH 0/11] Per-bdi writeback flusher threads v9

Artem Bityutskiy
2009-06-03T07:56:03Z

Jens Axboe wrote:
>> Ah, I see. Rather non-typical convention though. I expected
>> bdi_register() to clean-up stuff in case of failure. Isn't
>> it a better interface?
>
> You already did a bdi_init() at that point. bdi_destroy() must be used
> to clean up after both bdi_init() and/or bdi_register().

Right, silly me.

--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)