From: Jens Axboe Date: Tue, 1 Nov 2005 08:26:16 +0000 (+0100) Subject: [BLOCK] Unify the seperate read/write io stat fields into arrays X-Git-Tag: v2.6.15-rc1~18^2~10^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a362357b6cd62643d4dda3b152639303d78473da;p=pandora-kernel.git [BLOCK] Unify the seperate read/write io stat fields into arrays Instead of having ->read_sectors and ->write_sectors, combine the two into ->sectors[2] and similar for the other fields. This saves a branch several places in the io path, since we don't have to care for what the actual io direction is. On my x86-64 box, that's 200 bytes less text in just the core (not counting the various drivers). Signed-off-by: Jens Axboe --- Reading git-diff-tree failed