Not a comment on the original topic, On Tue, 27 Jul 2010 16:09:47 +0200 Christoph Hellwig <hch@xxxxxx> wrote: > On Tue, Jul 27, 2010 at 09:39:56AM -0400, Vivek Goyal wrote: > > How can I do it better? > > > > I needed a unique identifier with which user can work in terms of > > specifying weights to devices and in terms of understanding what stats > > mean. Device major/minor number looked like a obivious choice. > > > > I was looking for how to determine what is the major/minor number of disk > > request queue is associated with and I could use bdi to do that. > > The problem is that a queue can be shared between multiple gendisks, Is anyone still doing this? I thought that everyone agreed that this was wrong. Such users (like MTD) were fixed. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html