commit | 35ba8f7083e87602b695d6eaca38a6464d5b74db | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Sun Aug 10 12:33:00 2008 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Oct 09 08:56:01 2008 +0200 |
tree | dd9e515480ec307cf12378f13b01c7922cf3266c | |
parent | 27b29e86bf3d4b3cf6641a0efd78ed11a9b633b2 [diff] |
blktrace: simplify flags handling in __blk_add_trace Let the compiler see what's going on, and it can all get a lot simpler. On PPC64 this reduces the size of the code calculating these bits by about 60%. On x86_64 it's less of a win -- only 40%. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>