Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd: add _fastinfo PG attr for common pg_info_t updates
For most IO operations we only update a handful of fields in the pg_info_t structure. However, the full struct, when encoded, is on the order of 800 bytes. This adds a new attribute, _fastinfo, which contains only the most commonly updated fields. When present, the fastinfo fields should be overlayed on top of the full info struct contained in the existing info attr. If a field outside of the "fast" set is updated, we clear the fastinfo attribute and update the full info attr. Signed-off-by: Sage Weil <sage@redhat.com>
- Loading branch information
Showing
4 changed files
with
203 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters