diff options
author | Dave Jiang <dave.jiang@intel.com> | 2021-02-01 18:26:14 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-02-03 14:27:12 +0300 |
commit | 89e3becd8f821e507052e012d2559dcda59f538e (patch) | |
tree | bf10672138ec53bf2e4db538a6667e374c75bfb0 /Documentation/filesystems/omfs.rst | |
parent | fed1b6a00a191cad4dd843519b590e3d6ad9f843 (diff) | |
download | linux-89e3becd8f821e507052e012d2559dcda59f538e.tar.xz |
dmaengine: idxd: check device state before issue command
Add device state check before executing command. Without the check the
command can be issued while device is in halt state and causes the driver to
block while waiting for the completion of the command.
Reported-by: Sanjay Kumar <sanjay.k.kumar@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Tested-by: Sanjay Kumar <sanjay.k.kumar@intel.com>
Fixes: 0d5c10b4c84d ("dmaengine: idxd: add work queue drain support")
Link: https://lore.kernel.org/r/161219313921.2976211.12222625226450097465.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/filesystems/omfs.rst')
0 files changed, 0 insertions, 0 deletions