summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAya Levin <ayal@mellanox.com>2019-05-16 09:49:20 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-06-13 13:23:16 -0700
commite44ef4e4516cce783e95d7221936aa9a4f325ad9 (patch)
tree1a8d0f6e0339feb7486b776656d8fb5363e1bbf3 /Documentation
parenta842fe1425cb20f457abd3f8ef98b468f83ca98b (diff)
downloadlinux-e44ef4e4516cce783e95d7221936aa9a4f325ad9.tar.bz2
devlink: Hang reporter's dump method on a dumpit cb
The devlink health reporter provides a dump method on an error. Dump may contain a large amount of data, in this case doit cb isn't sufficient. This is because the user side is blocking and doesn't allow draining of the socket until the socket runs out of buffers. Using dumpit cb is the correct way to go. Please note that thankfully the dump op is not yet implemented in any driver and therefore this change is not breaking userspace. Fixes: 35455e23e6f3 ("devlink: Add health dump {get,clear} commands") Signed-off-by: Aya Levin <ayal@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions