diff options
author | Asai Thambi S P <asamymuthupa@micron.com> | 2014-02-18 14:49:17 -0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-02-18 14:49:17 -0800 |
commit | 5a98268e0f657e8f1289ad9b83fe010f0208565d (patch) | |
tree | 84253815850ce6c6dc0d9e92d89a556b49b88f1b /drivers/block/mtip32xx | |
parent | 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2 (diff) | |
download | linux-stable-5a98268e0f657e8f1289ad9b83fe010f0208565d.tar.gz linux-stable-5a98268e0f657e8f1289ad9b83fe010f0208565d.tar.bz2 linux-stable-5a98268e0f657e8f1289ad9b83fe010f0208565d.zip |
mtip32xx: Reduce the number of unaligned writes to 2
After several experiments, deduced the the optimal number of unaligned
writes to be 2. Changing the value accordingly.
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Sam Bradshaw <sbradshaw@micron.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/mtip32xx')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h index b52e9a6d6aad..54174cb32feb 100644 --- a/drivers/block/mtip32xx/mtip32xx.h +++ b/drivers/block/mtip32xx/mtip32xx.h @@ -53,7 +53,7 @@ #define MTIP_FTL_REBUILD_TIMEOUT_MS 2400000 /* unaligned IO handling */ -#define MTIP_MAX_UNALIGNED_SLOTS 8 +#define MTIP_MAX_UNALIGNED_SLOTS 2 /* Macro to extract the tag bit number from a tag value. */ #define MTIP_TAG_BIT(tag) (tag & 0x1F) |