From: Andi Kleen Date: Fri, 13 Jan 2012 01:20:34 +0000 (-0800) Subject: vfs: cache request_queue in struct block_device X-Git-Tag: v3.3-rc1~81^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87192a2a49c475cf322cb143e0fa63b0102d8567;p=pandora-kernel.git vfs: cache request_queue in struct block_device This makes it possible to get from the inode to the request_queue with one less cache miss. Used in followon optimization. The livetime of the pointer is the same as the gendisk. This assumes that the queue will always stay the same in the gendisk while it's visible to block_devices. I think that's safe correct? Signed-off-by: Andi Kleen Acked-by: Jeff Moyer Cc: Jens Axboe Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed