|
Packit Service |
b3514a |
/*
|
|
Packit Service |
b3514a |
* Copyright (c) 2020 Red Hat, Inc.
|
|
Packit Service |
b3514a |
*
|
|
Packit Service |
b3514a |
* This program is free software; you can redistribute it and/or
|
|
Packit Service |
b3514a |
* modify it under the terms of the GNU General Public License
|
|
Packit Service |
b3514a |
* as published by the Free Software Foundation; either version 2
|
|
Packit Service |
b3514a |
* of the License, or (at your option) any later version.
|
|
Packit Service |
b3514a |
*
|
|
Packit Service |
b3514a |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
b3514a |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
b3514a |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
b3514a |
* GNU General Public License for more details.
|
|
Packit Service |
b3514a |
*
|
|
Packit Service |
b3514a |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
b3514a |
* along with this program; if not, write to the Free Software
|
|
Packit Service |
b3514a |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
Packit Service |
b3514a |
* 02110-1301, USA.
|
|
Packit Service |
b3514a |
*
|
|
Packit Service |
b3514a |
* $Id: //eng/vdo-releases/aluminum/src/c++/vdo/base/slabJournalEraser.h#1 $
|
|
Packit Service |
b3514a |
*/
|
|
Packit Service |
b3514a |
|
|
Packit Service |
b3514a |
#ifndef SLAB_JOURNAL_ERASER_H
|
|
Packit Service |
b3514a |
#define SLAB_JOURNAL_ERASER_H
|
|
Packit Service |
b3514a |
|
|
Packit Service |
b3514a |
#include "slabIterator.h"
|
|
Packit Service |
b3514a |
#include "types.h"
|
|
Packit Service |
b3514a |
|
|
Packit Service |
b3514a |
/**
|
|
Packit Service |
b3514a |
* Begin erasing slab journals, one at a time.
|
|
Packit Service |
b3514a |
*
|
|
Packit Service |
b3514a |
* @param depot The depot from which to erase
|
|
Packit Service |
b3514a |
* @param slabs The slabs whose journals need erasing
|
|
Packit Service |
b3514a |
* @param parent The object to notify when complete
|
|
Packit Service |
b3514a |
**/
|
|
Packit Service |
b3514a |
void eraseSlabJournals(SlabDepot *depot,
|
|
Packit Service |
b3514a |
SlabIterator slabs,
|
|
Packit Service |
b3514a |
VDOCompletion *parent);
|
|
Packit Service |
b3514a |
|
|
Packit Service |
b3514a |
#endif // SLAB_JOURNAL_ERASER_H
|