summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quota.h
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2013-12-17 16:04:46 +0530
committerVijay Bellur <vbellur@redhat.com>2014-02-05 23:05:51 -0800
commitaf29cc47197f71b66f5a4f2dc6cca573a78bbdce (patch)
tree48fd45d3d8a63c51099287ac116841c257402727 /xlators/features/quota/src/quota.h
parente80e1bbd969f1d89b5b8e8eebbf8aa8ae0f2ca24 (diff)
quota: fix recording of last alert log message
Backport of http://review.gluster.org/6532 PROBLEM: Alert log messages, corresponding to disk usage crossing soft-limit on a directory, weren't being logged as often as expected. CAUSE: The mechanism in place to log alert messages, once every alert-time seconds, set the previous logged time incorrectly. FIX: Update previous logged time only if we logged an alert message, ie. when the "time was right" to alert. BUG: 969461 Change-Id: Ie019c180c97d2b049fa664b14ce087b88e3b578f Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/6886 Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/features/quota/src/quota.h')
0 files changed, 0 insertions, 0 deletions