#8: Filesize issues
-------------------------------------------------+-------------------------
Reporter: gregor (original via mail from | Owner: somebody
Martin Holste) | Status: new
Type: defect | Milestone:
Priority: major | Version:
Component: component1 |
Keywords: |
-------------------------------------------------+-------------------------
{{{
#!rst
Cut and paste from several emails describing the problem:
* With filesize set at exactly 280g (279g does not produce the problem)
tm will create one disk fifo file per packet in the workdir for each
evicted packet with a disk setting of 1000g. I am only using one
default class for "all."
* That sounds like something is wrapping and going negative at
the 2^38 barrier.
* Further testing shows that filesize > 2000m (including 2g for
some reason) leads to tm not rolling the file ever.
}}}
--
Ticket URL: <http://tracker.icir.org/time-machine/ticket/8>
The Time Machine <http://tracker.icir.org/time-machine>
High-volume network traffic stream recorder.
Show replies by date
#8: Filesize issues
-------------------------------------------------+-------------------------
Reporter: gregor (original via mail from | Owner: somebody
Martin Holste) | Status: new
Type: defect | Version:
Priority: major | Keywords:
Resolution: |
-------------------------------------------------+-------------------------
Comment (by lothar):
The problem originates from mixing up uint64_t and int64_t types with
casts to (int) in FifoDisk.cc. The attached patch fixes the problem.
--
Ticket URL: <http://tracker.icir.org/time-machine/ticket/8#comment:1>
The Time Machine <http://tracker.icir.org/time-machine>
High-volume network traffic stream recorder.