Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
152549 by sweettea on 2021/09/23 (pair: corwin, bjohnston)
Move sysfs creation to first resume. As of 5.15, Christoph Hellwig has rearranged DM to not create the disk kobjects for a table until after all the segments of the table have been constructed: https://listman.redhat.com/archives/dm-devel/2021-August/msg00008.html In that thread, agk suggested that perhaps this should be moved even later, to resume time. So we must move our own kobject creation, off the disk kobjects, to resume time instead of create time. .../dedupeIndex.h .../dedupeIndex.c Pull sysfs creation for dedupe index out into its own function. .../vdo.h .../vdo.c Rename stats_added member to sysfs_added. .../vdoInit.c .../vdoLoad.c Move initialize_vdo_kobjects() and data thereof to vdoLoad. Made it also initialize sysfs stats objects and dedupe index sysfs objects. Co-authored-by: sweettea@redhat.com Co-authored-by: corwin@redhat.com Co-authored-by: bjohnsto@redhat.com
- Loading branch information
Red Hat VDO Team
committed
Oct 1, 2021
1 parent
35b7291
commit 27bf632
Showing
6 changed files
with
65 additions
and
65 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
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