From: Tejun Heo Subject: Re: [PATCH vfs 1/2] lib: implement ptrset Date: Tue, 2 Dec 2014 13:15:51 -0500 Message-ID: <20141202181551.GJ10918@htj.dyndns.org> References: <20141113220927.GF2598@htj.dyndns.org> <20141125163707.GB3228@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jens Axboe , Alexander Viro , Christoph Hellwig , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton To: Jan Kara Return-path: Content-Disposition: inline In-Reply-To: <20141125163707.GB3228@quack.suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hello, Jan. On Tue, Nov 25, 2014 at 05:37:07PM +0100, Jan Kara wrote: > On Thu 13-11-14 17:09:27, Tejun Heo wrote: > > Implement set of pointers. Pointers can be added, deleted and > > iterated. It's currently implemented as a thin rbtree wrapper making > > addition and removal O(log N). A drawback is that iteration isn't RCU > > safe, which is okay for now. This will be used to remove > > inode->i_devices. > Tejun, I've noticed this somewhat late but I guess you haven't noticed my > patch series starting with a patch: > blockdev: Don't use i_devices inode field > > We can get rid of i_devices without tricks like this... I just need to > improve how char devices are handled. Ooh, that sounds perfect to me. Please ignore these patches. Thanks! -- tejun