diff options
| author | Mikulas Patocka <[email protected]> | 2010-08-12 03:14:21 +0000 |
|---|---|---|
| committer | Alasdair G Kergon <[email protected]> | 2010-08-12 03:14:21 +0000 |
| commit | c96053b767d494d7c30e2be68097ac9defa9403f (patch) | |
| tree | b66f185ffd58538f6107f3acf3af38b8aecd7f8a /fs/jbd/commit.c | |
| parent | dm stripe: move sector translation to a function (diff) | |
| download | kernel-c96053b767d494d7c30e2be68097ac9defa9403f.tar.gz kernel-c96053b767d494d7c30e2be68097ac9defa9403f.zip | |
dm stripe: optimize sector division
Optimize sector division: If the number of stripes is a power of two,
we can do shift and mask instead of division.
Signed-off-by: Mikulas Patocka <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
