Skip to content

drbd: a block device for HA clusters

Philipp Reisner drbd-dev linux-next lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16drbd: Entry in the MAINTAINERS file for DRBDMAINTAINERS+13 -00 replies
2/16lru_cache: track a fixed size cache of equal sized objectsinclude/linux/lru_cache.h lib/Kconfig lib/Makefile +1 more+859 -00 replies
3/16drbd: tracking of active extentsdrivers/block/drbd/drbd_actlog.c+1485 -00 replies
4/16drbd: dirty bitmapdrivers/block/drbd/drbd_bitmap.c+1273 -01 reply
5/16drbd: request state processingdrivers/block/drbd/drbd_req.c drivers/block/drbd/drbd_req.h+1429 -00 replies
6/16drbd: user space interface (based upon connector/netlink)drivers/block/drbd/drbd_nl.c include/linux/drbd.h include/linux/drbd_limits.h +2 more+3056 -00 replies
7/16drbd: internal data structuresdrivers/block/drbd/drbd_int.h drivers/block/drbd/drbd_wrappers.h+2337 -00 replies
8/16drbd: device state enginedrivers/block/drbd/drbd_main.c+3747 -00 replies
9/16drbd: network IO threadsdrivers/block/drbd/drbd_receiver.c+4364 -00 replies
10/16drbd: the /proc/drbd interfacedrivers/block/drbd/drbd_proc.c+266 -00 replies
11/16drbd: worker threaddrivers/block/drbd/drbd_worker.c+1531 -00 replies
12/16drbd: variable length integer encodingdrivers/block/drbd/drbd_vli.h+351 -00 replies
13/16drbd: String constantsdrivers/block/drbd/drbd_strings.c+113 -00 replies
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: Kconfig and Makefile bitsdrivers/block/Kconfig drivers/block/Makefile drivers/block/drbd/Kconfig +1 more+91 -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,

As the first bit of the DBRD patch already got upstream (see commit 10fc89d01a) it is time to get more of DRBD towards mainline.

Here is a post of drbd-8.3.2 for inclusion into linux-mm (or linux-next).

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

In case you want to review the code, here is a note for you:

Only the first patch (lru_cache) is 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, 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-06-26

* Cleanup: Added an entry to the MAINTAINERS file
* DRBD: Now at drbd-8.3.2:
* DRBD: Fixed a hard to trigger race condition. (kmap_atomic(..., KM_IRQ1) interruptible)

Changes since 2009-05-15

* Cleanup: Moved lru_cache.c to /lib
* Cleanup: all STATIC -> static
* Cleanup: Removed drbd_config.h ; New Kconfig option: CONFIG_DRBD_FAULT_INJECTION
* Cleanup: Removed drbd_buildtag.c

  * DRBD:    Following DRBD-upstream, now at 8.3.2-rc2. Relevant changes:
  * DRBD:    lru_cache: use pointer arrays and kmem_cache
  * DRBD:    Fixed for building on big endian architectures
  * DRBD:    Fixed nl stuff to work on architectures that does not do unaligned memory accesses
  * DRBD:    Deal with hash functions already ported to SHASH
  * DRBD:    GFP_KERNEL -> GFP_NOIO in various places

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