seastore: add the comment to explain disable_trim

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
This commit is contained in:
myoungwon oh 2022-05-12 14:59:42 +09:00
parent 593543d0a7
commit 8260c7d8a6

View File

@ -690,7 +690,14 @@ private:
SegmentSeqAllocatorRef ool_segment_seq_allocator;
bool disable_trim = false; // for test
/**
* disable_trim
*
* added to enable unit testing of CircularBoundedJournal before
* proper support is added to SegmentCleaner.
* Should be removed once proper support is added. TODO
*/
bool disable_trim = false;
public:
SegmentCleaner(
config_t config,