Skip to content

DRBD: a block device for HA clusters

Philipp Reisner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16DRBD: major.hinclude/linux/major.h+1 -00 replies
2/16DRBD: lru_cacheinclude/linux/lru_cache.h lib/Kconfig lib/Makefile +1 more+754 -00 replies
3/16DRBD: activity_logdrivers/block/drbd/drbd_actlog.c+1480 -00 replies
4/16DRBD: bitmapdrivers/block/drbd/drbd_bitmap.c+1268 -00 replies
5/16DRBD: requestdrivers/block/drbd/drbd_req.c drivers/block/drbd/drbd_req.h+1429 -00 replies
6/16DRBD: userspace_interfacedrivers/block/drbd/drbd_nl.c include/linux/drbd.h include/linux/drbd_config.h +3 more+3075 -00 replies
7/16DRBD: internal_data_structuresdrivers/block/drbd/drbd_int.h drivers/block/drbd/drbd_wrappers.h+2345 -00 replies
8/16DRBD: maindrivers/block/drbd/drbd_main.c+3669 -00 replies
9/16DRBD: receiverdrivers/block/drbd/drbd_receiver.c+4319 -00 replies
10/16DRBD: procdrivers/block/drbd/drbd_proc.c+267 -00 replies
11/16DRBD: workerdrivers/block/drbd/drbd_worker.c+1471 -00 replies
12/16DRBD: variable_length_integer_encodingdrivers/block/drbd/drbd_vli.h+351 -00 replies
13/16DRBD: miscdrivers/block/drbd/drbd_buildtag.c drivers/block/drbd/drbd_strings.c+120 -01 reply
14/16DRBD: tracepoint_probesdrivers/block/drbd/drbd_tracing.c drivers/block/drbd/drbd_tracing.h+839 -00 replies
15/16DRBD: documentationDocumentation/blockdev/drbd/DRBD-8.3-data-packets.svg Documentation/blockdev/drbd/DRBD-data-packets.svg Documentation/blockdev/drbd/README.txt +4 more+1196 -00 replies
16/16DRBD: finaldrivers/block/Kconfig drivers/block/Makefile drivers/block/drbd/Kconfig +1 more+59 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/16] DRBD: a block device for HA clusters

Hi,

This is a repost of DRBD, to keep you updated about the ongoing cleanups and improvements.

Patch set attached. Git tree available:
git pull git://git.drbd.org/linux-2.6-drbd.git drbd

We are looking for reviews!

Note for reviewers:

Only the first two patches (major.h and lru_cache) are self contained. The other patches are just split at file boundaries. Sorry, DRBD was developed as out-of-tree modules just for too long.

Short Description

DRBD is a shared-nothing, synchronously replicated block device. It is designed to serve as a building block for high availability clusters and in this context, is a "drop-in" replacement for shared storage. Simplistically, you could see it as a network RAID 1.

More information can be found at http://www.drbd.org

Changes since 2009-04-30

* Cleanup: Removed typecasts, more documentation in lru_cache. Moved to /lib
* Cleanup: replaced __attribute__((packed)) with __packed
* Cleanup: remove quite a few 'inline's from .c files
* Cleanup: renaming a few constants: _SECT -> _SECTOR_SIZE, _SIZE_B -> _SHIFT ...
* Cleanup: rename inc_local -> get_ldev; inc_net -> get_net_conf; and corresponding dec_* -> put_*
* Cleanup: rename mdev->bc to mdev->ldev (to match the recent change to get_ldev/put_ldev)
* Cleanup: Made function comments kernel-doc compliant
* Cleanup: vmalloc() only as a fall back for kmalloc()

  * DRBD:    Allow detach of a SyncTarget node. (Bugz 221)
  * DRBD:    Call drbd_rs_cancel_all() and reset rs_pending when aborting resync due to detach. (Bugz 223)
  * DRBD:    make drbd thread t_lock irqsave - lockdep complained, and lockdep is right (theoretically)

Changes since 2009-04-10

* Cleanup: Removed all CamelCase
* Cleanup: Replaced DRBD's own tracing stuff with regular tracepoints
* Cleanup: Removed ERR/INFO/ALERT ... macros, using dev_err/dev_info/... now
* Cleanup: Minor stuff, as suggested in feedback on LKML
* DRBD: Bitmap compression feature was finalised
* DRBD: new disable_sendpage parameter

Changes since the post on 2009-03-30, all triggered by reviews

* Improvements to Makefile and Kconfig
* Simplified definitions of bm_flags' bitnumbers
* Removed debugging aid

Changes since the post on 2009-03-23, from drbd-mainline

* Updated to the final drbd-8.3.1 code
* Optionally run-length encode bitmap transfers

Changes since the post on 2009-03-23, triggered by reviews

* Using the latest proc_create() now
* Moved the allocation of md_io_tmpp to attach/detach out of drbd_md_sync_page_io()
* Removing the mode selection comments for emacs
* Removed DRBD_ratelimit()

cheers,
Phil