Skip to content

Instantly share code, notes, and snippets.

View Fabian-Gruenbichler's full-sized avatar

Fabian-Gruenbichler

  • Proxmox Server Solutions
  • 02:55 (UTC +02:00)
View GitHub Profile
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.13.8-1-pve Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
override_dh_strip: strip_ceph-mds strip_ceph-fuse strip_ceph-mgr strip_ceph-mon strip_ceph-osd strip_ceph-fuse strip_rbd-fuse strip_rbd-mirror strip_rbd-nbd strip_ceph-common strip_librados2 strip_libradosstriper1 strip_librbd1 strip_libcephfs2 strip_librgw2 strip_radosgw strip_ceph-test
.PHONY: strip_ceph-mds strip_ceph-fuse strip_ceph-mgr strip_ceph-mon strip_ceph-osd strip_ceph-fuse strip_rbd-fuse strip_rbd-mirror strip_rbd-nbd strip_ceph-common strip_librados2 strip_libradosstriper1 strip_librbd1 strip_libcephfs2 strip_librgw2 strip_radosgw strip_ceph-test
strip_ceph-mds:
dh_strip -pceph-mds --dbgsym-migration='ceph-mds-dbg (<< 12.2.1-2)'
strip_ceph-mgr:
dh_strip -pceph-mgr --dbgsym-migration='ceph-mgr-dbg (<< 12.2.1-2)'
strip_ceph-mon:
@Fabian-Gruenbichler
Fabian-Gruenbichler / dmu_send_duplicate.c
Last active October 4, 2017 08:14
variant with duplicate dmu_object_next
uint64_t obj = rwa->last_touched_object + 1;
int free_err = 0, next_err = 0;
while (next_err == 0) {
dmu_object_info_t doi;
free_err = dmu_object_info(rwa->os, obj, &doi);
if (free_err == ENOENT) {
next_err = dmu_object_next(rwa->os, &obj, FALSE, 0);
continue;
@Fabian-Gruenbichler
Fabian-Gruenbichler / dmu_send_goto.c
Last active October 4, 2017 08:14
variant with goto
uint64_t obj = rwa->last_touched_object + 1;
int free_err = 0, next_err = 0;
while (next_err == 0) {
dmu_object_info_t doi;
free_err = dmu_object_info(rwa->os, obj, &doi);
if (free_err == ENOENT)
goto next;
else if (free_err != 0)