Ship LINBIT 9.2.19 cocci_cache for offline KMM builds - #4
Closed
malayparida2000 wants to merge 3 commits into
Closed
Ship LINBIT 9.2.19 cocci_cache for offline KMM builds#4malayparida2000 wants to merge 3 commits into
malayparida2000 wants to merge 3 commits into
Conversation
malayparida2000
force-pushed
the
vendor-cocci-cache-9.2.18
branch
2 times, most recently
from
July 20, 2026 09:48
5f06631 to
52d7137
Compare
Ship pre-generated compat.h/compat.patch entries from the official LINBIT drbd-9.2.19 release tarball so disconnected clusters can build DRBD kmods without SPAAS or a local coccinelle install. make tarball already includes cocci_cache via .filelist; previously the directory was empty because git builds never ran LINBIT's internal collect_compat_h.sh. Stop ignoring cocci_cache contents so the vendored cache is part of the source consumed by the image build. Source: https://pkg.linbit.com/downloads/drbd/9/drbd-9.2.19.tar.gz (63 compat.patch entries). Refresh this tree from the matching LINBIT release when bumping DRBD. Signed-off-by: Malay Kumar Parida <mparida@redhat.com>
malayparida2000
force-pushed
the
vendor-cocci-cache-9.2.18
branch
from
July 20, 2026 09:49
52d7137 to
3226dc4
Compare
Replace unpublished 6998d84e with 32c2e607 (same bit-9 RECONCILE_RECONNECT change) so git submodule update works in CI. Signed-off-by: Malay Kumar Parida <mparida@redhat.com>
Bump the drbd-headers submodule to remove the split genetlink compat headers for older kernels. Also update build file lists and retarget compat patches that referenced the deleted files.
malayparida2000
force-pushed
the
vendor-cocci-cache-9.2.18
branch
from
July 20, 2026 13:23
9a6036b to
b30dcb9
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
drbd-kernel-compat/cocci_cache/from the official LINBIT drbd-9.2.19 release tarball (63compat.patchentries).cocci_cache/*in.gitignoreso the cache is part of the git source consumed by the build.Why
make tarballalready packs whatever is undercocci_cache/via.filelist. 4.22 builds from git with emptycocci_cache, so disconnected builds fail.Maintenance
When bumping DRBD, refresh from the matching LINBIT release.
Run the below command to replace the vendored cache, cleans up the download, and prints the patch count . Then commit and PR to the matching release branch.