dev-dax: check_vma: ratelimit dev_info-s
authorJeff Moyer <jmoyer@redhat.com>
Wed, 27 Jun 2018 15:43:58 +0000 (11:43 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:09:08 +0000 (13:09 +0200)
commit0aa88fda693aebe6eccf538ca6ae64cf58a0c60a
tree9278fb3ed7dfefd6a0394d2de0bd14d6c3113012
parent601c226ea6623b8fb15e33fab3608755929de4da
dev-dax: check_vma: ratelimit dev_info-s

[ Upstream commit 5a14e91d559aee5bdb0e002e1153fd9c4338a29e ]

This is easily triggered from userspace, so let's ratelimit the
messages.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dax/device.c