|
Packit Service |
75d76b |
/*
|
|
Packit Service |
75d76b |
* Copyright (c) 2020 Red Hat, Inc.
|
|
Packit Service |
75d76b |
*
|
|
Packit Service |
75d76b |
* This program is free software; you can redistribute it and/or
|
|
Packit Service |
75d76b |
* modify it under the terms of the GNU General Public License
|
|
Packit Service |
75d76b |
* as published by the Free Software Foundation; either version 2
|
|
Packit Service |
75d76b |
* of the License, or (at your option) any later version.
|
|
Packit Service |
75d76b |
*
|
|
Packit Service |
75d76b |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
75d76b |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
75d76b |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
75d76b |
* GNU General Public License for more details.
|
|
Packit Service |
75d76b |
*
|
|
Packit Service |
75d76b |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
75d76b |
* along with this program; if not, write to the Free Software
|
|
Packit Service |
75d76b |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
Packit Service |
75d76b |
* 02110-1301, USA.
|
|
Packit Service |
75d76b |
*
|
|
Packit Service |
75d76b |
* $Id: //eng/vdo-releases/aluminum/src/c++/vdo/base/vdoLayoutInternals.h#2 $
|
|
Packit Service |
75d76b |
*/
|
|
Packit Service |
75d76b |
|
|
Packit Service |
75d76b |
#ifndef VDO_LAYOUT_INTERNALS_H
|
|
Packit Service |
75d76b |
#define VDO_LAYOUT_INTERNALS_H
|
|
Packit Service |
75d76b |
|
|
Packit Service |
75d76b |
#include "fixedLayout.h"
|
|
Packit Service |
75d76b |
#include "types.h"
|
|
Packit Service |
75d76b |
|
|
Packit Service |
75d76b |
struct vdoLayout {
|
|
Packit Service |
75d76b |
// The current layout of the VDO
|
|
Packit Service |
75d76b |
FixedLayout *layout;
|
|
Packit Service |
75d76b |
// The next layout of the VDO
|
|
Packit Service |
75d76b |
FixedLayout *nextLayout;
|
|
Packit Service |
75d76b |
// The previous layout of the VDO
|
|
Packit Service |
75d76b |
FixedLayout *previousLayout;
|
|
Packit Service |
75d76b |
// The first block in the layouts
|
|
Packit Service |
75d76b |
PhysicalBlockNumber startingOffset;
|
|
Packit Service |
75d76b |
// A pointer to the copy completion (if there is one)
|
|
Packit Service |
75d76b |
VDOCompletion *copyCompletion;
|
|
Packit Service |
75d76b |
};
|
|
Packit Service |
75d76b |
|
|
Packit Service |
75d76b |
#endif // VDO_LAYOUT_INTERNALS_H
|