diff options
| author | Krishna Konda <kkonda@codeaurora.org> | 2013-04-01 21:01:59 -0700 |
|---|---|---|
| committer | Subhash Jadavani <subhashj@codeaurora.org> | 2016-05-27 10:28:33 -0700 |
| commit | 84756b990eddeda15c1e769b8dc8c8b86c11a248 (patch) | |
| tree | d136a13fb51dc1394217439d0b6a56ffbf83a992 /include/linux/raid | |
| parent | a93eca74ce9b74cb6e6611664b1cc7f86030511b (diff) | |
mmc: sdhci-msm: add quirk for max_discard calculation
The SDHCi driver by default specifies a parameter that causes the
core layer to calculate a max discard value which will be set on the
mmc queue. Unfortunately the value calculated because of this would
be very small compared to what comes in by default. As a result of
this, any secure discard kind of operations are very slow.
Instead add quirk so that any SDHCi hosts that would like to use
the default value can do so.
Change-Id: Ifa1343c3e7f14b031da30b06203a8831ba544889
Signed-off-by: Krishna Konda <kkonda@codeaurora.org>
[venkatg@codeaurora.org: change max_discard_to was renamed to
max_busy_timeout in 3.14 kernel]
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
[subhashj@codeaurora.org: fixed compilation error]
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions
