Skip to content

Patches for compat drbd9 to kernel v4.10

Nick Wang drbd-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Remove bio_set_op_attrsdrbd_wrappers.h tests/have_bio_set_op_attrs.c+23 -30 replies
2/8Adapt pointer backing_dev_info in struct request_queuetests/have_pointer_backing_dev_info.c+7 -00 replies
3/8Adapt pointer backing_dev_info in struct request_queuedrbd/drbd_debugfs.c drbd/drbd_main.c drbd/drbd_nl.c +1 more+30 -00 replies
4/8Use refcount_t 'atomic' type to implement struct krefdrbd_wrappers.h tests/have_refcount_inc.c+11 -00 replies
5/8Use refcount_t 'atomic' type to implement structrefdrbd/drbd_bitmap.c drbd/drbd_req.c drbd/kref_debug.c+8 -40 replies
6/8Statically initialize familiestests/have_genl_family_in_genlmsg_multicast.c tests/have_genl_id_generate.c+15 -00 replies
7/8Statically initialize familiesdrbd/linux/genl_magic_func-genl_register_family_with_ops_groups.h+4 -00 replies
8/8Statically initialize familieslinux/genl_magic_func.h+4 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Drbd-dev] [Patch v1 0/8] Patches for compat drbd9 to kernel v4.10

Changelog of v1 compare to v0:
patch1: Remove the "error FIXME WRITE_SYNC undefined", since
for the new kernels without WRITE_SYNC, can savely ignore it.
patch2 and patch3: Remove the wrapper of bdi_congested in v1,
by removing the '&' directly.
patch4 and patch5: Use a warpper of refcount_* function,
fallback to atomic_ when kernel not support.

Patches for drbd9 compatible to kernel4.10, including drbd, drbd-kernel-compat and drbd-headers repos. Ordered as functionality, so may mix the three repos in one patch set.

block layer API and genetlink API have many changes in kernel v4.10. 93c5bdf7 and 70fd7614, bio_set_op_attrs change to inline
then obsolete by use flag directly.
dc3b17cc, use pointer to backing_dev_info in struct request_queue. 10383aea, use refcount_t for struct kref.
a07ea4d9 and 489111e5, statically initialize genetlink family.

CC Lars Ellenberg <[email protected]>
CC Roland Kammerer <[email protected]>
Signature · 1 line
1.8.5.6