1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/metadata/merge.h
Joe Thornber 16ab7a0da2 o New function 'merge_segments'
o  Call said function at end of lv_extend
2002-01-07 15:08:28 +00:00

21 lines
413 B
C

/*
* Copyright (C) 2001 Sistina Software
*
* This file is released under the LGPL.
*/
#ifndef _LVM_MERGE_H
#define _LVM_MERGE_H
#include "metadata.h"
/*
* Sometimes (eg, after an lvextend), it is
* possible to merge two adjacent segments into a
* single segment. This function trys to merge as
* many segments as possible.
*/
int merge_segments(struct logical_volume *lv);
#endif /* _LVM_MERGE_H */