From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artem Bityutskiy Subject: Re: [PATCH 0/11] Per-bdi writeback flusher threads v9 Date: Wed, 03 Jun 2009 10:54:22 +0300 Message-ID: <4A262C2E.30506@nokia.com> References: <4A1E9D0B.4090402@gmail.com> <4A1E9D8B.8020908@gmail.com> <1243542908.6645.104.camel@laptop> <4A20011E.7020900@nokia.com> <20090529155046.GH11363@kernel.dk> <4A20072B.7050807@nokia.com> <20090529170742.GI11363@kernel.dk> <4A2628A7.9080407@nokia.com> <20090603074417.GC11363@kernel.dk> <4A262A4D.5090509@nokia.com> <20090603075019.GD11363@kernel.dk> Reply-To: Artem.Bityutskiy@nokia.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Peter Zijlstra , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "tytso@mit.edu" , "chris.mason@oracle.com" , "david@fromorbit.com" , "hch@infradead.org" , "akpm@linux-foundation.org" , "jack@suse.cz" , "yanmin_zhang@linux.intel.com" , "richard@rsk.demon.co.uk" , "damien.wyart@free.fr" To: ext Jens Axboe Return-path: Received: from smtp.nokia.com ([192.100.105.134]:64083 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755212AbZFCHzw (ORCPT ); Wed, 3 Jun 2009 03:55:52 -0400 In-Reply-To: <20090603075019.GD11363@kernel.dk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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? >=20 > You already did a bdi_init() at that point. bdi_destroy() must be use= d > to clean up after both bdi_init() and/or bdi_register(). Right, silly me. --=20 Best Regards, Artem Bityutskiy (=D0=90=D1=80=D1=82=D1=91=D0=BC =D0=91=D0=B8=D1=82=D1=8E= =D1=86=D0=BA=D0=B8=D0=B9) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html