Motr
M0
|
Layout DB Module is used by the Layout module to make persistent records for the layout entries created and used.
This section describes the data structures exposed and the external interfaces of the Layout DB module and it briefly identifies the users of these interfaces so as to explain how to use this module.
A file layout is used by the client to perform IO against that file. For example, layout for a file may contain COB identifiers for all the COBs associated with that file. For example, the COB identifiers may be stored by the layout either in the form of a list or as a linear formula.
Example use case of reading a file:
Reading a layout record from the layout DB involves the following for example: