snapraid/cmdline/locate.h

32 lines
1 KiB
C
Raw Normal View History

/*
* Copyright (C) 2026 Andrea Mazzoleni
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __LOCATE_H
#define __LOCATE_H
/****************************************************************************/
/* snapraid */
#include "state.h"
void state_locate(struct snapraid_state* state, uint64_t parity_tail);
void state_locate_mark_tail_blocks_for_resync(struct snapraid_state* state, uint64_t parity_tail);
#endif