Project

General

Profile

Actions

Bug #678

closed

What if period == 0 in MDCache...purge_stray?

Added by Paul Komkoff over 13 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

100%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Program terminated with signal 8, Arithmetic exception.
#0 0x000000000052f8c2 in MDCache::purge_stray (this=0x240c9b0, dn=0x7f49e86c05a8) at mds/MDCache.cc:7413
7413 uint64_t num = (to + period - 1) / period;

Workaround attached.


Files

ceph-period.patch (1.34 KB) ceph-period.patch Paul Komkoff, 01/01/2011 05:04 AM
Actions

Also available in: Atom PDF