diff options
author | Subhash Jadavani <subhashj@codeaurora.org> | 2014-09-25 15:32:35 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-10-01 13:11:26 +0200 |
commit | 374a246e4ebda1fc55d537877bf2412e511ecc7b (patch) | |
tree | 548b471cadaaa8580276d2725bbafb55fae80b6e /include | |
parent | 856b348305c98d4e0c8e5eafa97c61443197f8d3 (diff) | |
download | linux-374a246e4ebda1fc55d537877bf2412e511ecc7b.tar.bz2 |
ufs: tune bkops while power managment events
Add capability to control the auto bkops during suspend.
If host explicitly enables the auto bkops (background operation) on device
then only device would perform the bkops on its own. If auto bkops is not
enabled explicitly and if the device reaches to state where it must do
background operation, device would raise the urgent bkops exception event
to host and then host will enable the auto bkops on device. This patch
adds the option to choose whether auto bkops should be enabled during
runtime suspend or not. Since we don't want to keep the device active to
perform the non critical bkops, host will enable urgent bkops only.
Keep auto-bkops enabled after resume if urgent bkops needed.
If device bkops status shows that its in critical need of executing
background operations, host should allow the device to continue doing
background operations.
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions