DRBD code reorganization
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest27 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/27 | drbd: Rename net_conf variables old_conf -> old_net_conf and new_conf -> new_net_confdrivers/ | +46 | 0 replies | |
| 2/27 | drbd: Iterate over all connectionsdrivers/ drivers/ | +70 | 0 replies | |
| 3/27 | drbd: drbd_adm_prepare(): Only set adm_ctx.connection when a connection is requesteddrivers/ | +2 | 0 replies | |
| 4/27 | drbd: Move conf_mutex from connection to resourcedrivers/ drivers/ drivers/ +5 more | +160 | 0 replies | |
| 5/27 | drbd: Move susp, susp_nod, susp_fen from connection to resourcedrivers/ drivers/ drivers/ +1 more | +21 | 0 replies | |
| 6/27 | drbd: Define the size of res_opts->cpu_mask in a single placedrivers/ include/ include/ | +4 | 0 replies | |
| 7/27 | drbd: Move cpu_mask from connection to resourcedrivers/ drivers/ | +47 | 0 replies | |
| 8/27 | drbd: Rename drbdd_init() -> drbd_receiver()drivers/ drivers/ drivers/ | +4 | 0 replies | |
| 9/27 | drbd: Function prototype cleanupsdrivers/ drivers/ | +2 | 0 replies | |
| 10/27 | drbd: drbd_csum_bio(), drbd_csum_ee(): Remove unused device argumentdrivers/ drivers/ drivers/ +1 more | +13 | 0 replies | |
| 11/27 | drbd: Replace vnr_to_mdev() with conn_peer_device()drivers/ drivers/ | +109 | 0 replies | |
| 12/27 | drbd: Pass a peer device to a number of fuctionsdrivers/ drivers/ drivers/ +3 more | +353 | 0 replies | |
| 13/27 | drbd: Kill drbd_task_to_thread_name()drivers/ drivers/ drivers/ | +11 | 0 replies | |
| 14/27 | drbd: Remove useless assertiondrivers/ | +1 | 0 replies | |
| 15/27 | drbd: Move string function prototypes from linux/drbd.h to drbd_string.hdrivers/ drivers/ drivers/ +1 more | +11 | 0 replies | |
| 16/27 | drbd: Rename w_prev_work_done -> w_completedrivers/ drivers/ drivers/ | +9 | 0 replies | |
| 17/27 | drbd: Create a dedicated struct drbd_device_workdrivers/ drivers/ drivers/ +5 more | +197 | 0 replies | |
| 18/27 | drbd: Turn conn_flush_workqueue() into drbd_flush_workqueue()drivers/ drivers/ drivers/ +1 more | +33 | 0 replies | |
| 19/27 | drbd: struct after_conn_state_chg_work: Use drbd_work instead of drbd_device_workdrivers/ | +4 | 0 replies | |
| 20/27 | drbd: struct drbd_peer_request: Use drbd_work instead of drbd_device_workdrivers/ drivers/ drivers/ | +69 | 0 replies | |
| 21/27 | drbd: Make w_make_resync_request() staticdrivers/ drivers/ | +2 | 0 replies | |
| 22/27 | drbd: Turn w_make_ov_request and make_resync_request into "normal" functionsdrivers/ | +6 | 0 replies | |
| 23/27 | drbd: In the worker thread, process drbd_work instead of drbd_device_work itemsdrivers/ | +7 | 0 replies | |
| 24/27 | drbd: Get rid of first_peer_device() in handle_write_conflicts()drivers/ | +3 | 0 replies | |
| 25/27 | drbd: Remove unused parameter of wire_flags_to_bio()drivers/ | +2 | 0 replies | |
| 26/27 | drbd: Use the right peer devicedrivers/ | +38 | 0 replies | |
| 27/27 | drbd: Add drbd_thread->resource and make drbd_thread->connection optionaldrivers/ drivers/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/27] DRBD code reorganization
Hi,
we are preparing DRBD for the ability to have multiple connections, in other words the ability to mirror a single block device to multiple peers concurrently.
This patch set is the second half of a preparation step. With part 1 it introduces a new in memory object (struct drbd_resource), and renames the current in memory objects for clarity.
This patch set does not introduce any new functionality.
Andreas Gruenbacher (27):
drbd: Rename net_conf variables old_conf -> old_net_conf and new_conf
-> new_net_conf
drbd: Iterate over all connections
drbd: drbd_adm_prepare(): Only set adm_ctx.connection when a
connection is requested
drbd: Move conf_mutex from connection to resource
drbd: Move susp, susp_nod, susp_fen from connection to resource
drbd: Define the size of res_opts->cpu_mask in a single place
drbd: Move cpu_mask from connection to resource
drbd: Rename drbdd_init() -> drbd_receiver()
drbd: Function prototype cleanups
drbd: drbd_csum_bio(), drbd_csum_ee(): Remove unused device argument
drbd: Replace vnr_to_mdev() with conn_peer_device()
drbd: Pass a peer device to a number of fuctions
drbd: Kill drbd_task_to_thread_name()
drbd: Remove useless assertion
drbd: Move string function prototypes from linux/drbd.h to
drbd_string.h
drbd: Rename w_prev_work_done -> w_complete
drbd: Create a dedicated struct drbd_device_work
drbd: Turn conn_flush_workqueue() into drbd_flush_workqueue()
drbd: struct after_conn_state_chg_work: Use drbd_work instead of
drbd_device_work
drbd: struct drbd_peer_request: Use drbd_work instead of
drbd_device_work
drbd: Make w_make_resync_request() static
drbd: Turn w_make_ov_request and make_resync_request into "normal"
functions
drbd: In the worker thread, process drbd_work instead of
drbd_device_work items
drbd: Get rid of first_peer_device() in handle_write_conflicts()
drbd: Remove unused parameter of wire_flags_to_bio()
drbd: Use the right peer device
drbd: Add drbd_thread->resource and make drbd_thread->connection
optional
drivers/block/drbd/drbd_actlog.c | 16 +- drivers/block/drbd/drbd_bitmap.c | 16 +- drivers/block/drbd/drbd_int.h | 148 ++++----- drivers/block/drbd/drbd_main.c | 558 ++++++++++++++++++--------------- drivers/block/drbd/drbd_nl.c | 260 +++++++-------- drivers/block/drbd/drbd_receiver.c | 608 ++++++++++++++++++++---------------- drivers/block/drbd/drbd_req.c | 59 ++-- drivers/block/drbd/drbd_req.h | 8 +- drivers/block/drbd/drbd_state.c | 116 +++---- drivers/block/drbd/drbd_strings.c | 1 + drivers/block/drbd/drbd_strings.h | 9 + drivers/block/drbd/drbd_worker.c | 216 ++++++------- include/linux/drbd.h | 8 +- include/linux/drbd_genl.h | 2 +- 14 files changed, 1074 insertions(+), 951 deletions(-) create mode 100644 drivers/block/drbd/drbd_strings.h
Signature · 1 line
1.7.9.5