History log of /drivers/block/drbd/drbd_req.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0ddf72be4edbd7640b57c13161f71416df16ec11 24-May-2011 Andrew Morton <akpm@linux-foundation.org> drbd: fix warning

In file included from drivers/block/drbd/drbd_main.c:54: drivers/block/drbd/drbd_int.h:1190: warning: parameter has incomplete type

Forward declarations of enums do not work.

Fix it unpleasantly by moving the prototype.

Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Lars Ellenberg <drbd-dev@lists.linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
/drivers/block/drbd/drbd_req.h
24c4830c8ec3cbc904d84c213126a35f41a4e455 21-May-2011 Bart Van Assche <bvanassche@acm.org> drbd: Fix spelling

Found these with the help of ispell -l.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
/drivers/block/drbd/drbd_req.h
7fde2be93080c028c20078a2d6abec8a95891192 01-Mar-2011 Philipp Reisner <philipp.reisner@linbit.com> drbd: Implemented real timeout checking for request processing time

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
6a35c45f890dc18c5527ac501b308058118f20e7 17-Jan-2011 Philipp Reisner <philipp.reisner@linbit.com> drbd: Ensure that an epoch contains only requests of one kind

The assert in drbd_req.c:755 forces us to have only requests of
one kind in an epoch. The two kinds we distinguish here are:
local-only or mirrored.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
aeda1cd6a58009ef21b6d9c09b1a3ded726c2d10 09-Nov-2010 Philipp Reisner <philipp.reisner@linbit.com> drbd: Begin to account BIO processing time before inc_ap_bio()

Since inc_ap_bio() might sleep already

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
73a01a18b9c28a0fab1131ece5b0a9bc00a879b8 27-Oct-2010 Philipp Reisner <philipp.reisner@linbit.com> drbd: New packet for Ahead/Behind mode: P_OUT_OF_SYNC

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
759fbdfba66e620aceb3e73167e6003d1b8b0b0b 26-Oct-2010 Philipp Reisner <philipp.reisner@linbit.com> drbd: Track the numbers of sectors in flight

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
a115413de13ae6beb0cbfc198afe385a261ab284 13-Nov-2010 Lars Ellenberg <lars.ellenberg@linbit.com> drbd: fix for spin_lock_irqsave in endio callback

In commit 9b7f76dc37919ea36caa9680a3f765e5b19b25fb,
Author: Lars Ellenberg <lars.ellenberg@linbit.com>
Date: Wed Aug 11 23:40:24 2010 +0200

drbd: new configuration parameter c-min-rate

a bad chunk slipped through, which is now reverted as well,
restoring the correct irqsave for the endio callback.

This patch also add comments at both req_mod()
and in the endio callback so it should not happen again.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
0778286a133d2d3f81861a4e5db308e359583006 31-Aug-2010 Philipp Reisner <philipp.reisner@linbit.com> drbd: Disable activity log updates when the whole device is out of sync

When the complete device is marked as out of sync, we can disable
updates of the on disk AL. Currently AL updates are only disabled
if one uses the "invalidate-remote" command on an unconnected,
primary device, or when at attach time all bits in the bitmap are
set.

As of now, AL updated do not get disabled when a all bits becomes
set due to application writes to an unconnected DRBD device.
While this is a missing feature, it is not considered important,
and might get added later.

BTW, after initializing a "one legged" DRBD device
drbdadm create-md resX
drbdadm -- --force primary resX
AL updates also get disabled, until the first connect.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
265be2d09853d425ad14a61cda0ca63345613d0c 31-May-2010 Philipp Reisner <philipp.reisner@linbit.com> drbd: Finished the "on-no-data-accessible suspend-io;" functionality

When no data is accessible (no connection to the peer, nor a local disk)
allow the user to select to freeze all IO operations instead of getting
IO errors.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
5ba82308ea766b33404cb130a88fe4113d9c20a3 10-Jun-2010 Philipp Reisner <philipp.reisner@linbit.com> drbd: factored drbd_req_make_private_bio() out of drbd_req_new()

Preparing tl_thaw_dio()

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
11b58e73a3a3d1bbb582370d59f9b2c4d0136b42 12-May-2010 Philipp Reisner <philipp.reisner@linbit.com> drbd: factored tl_restart() out of tl_clear().

If IO was frozen for a temporal network outage, resend the
content of the transfer-log into the newly established connection.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
2a80699f807885d501f08a7006f6a56c1c937a6e 09-Jun-2010 Philipp Reisner <philipp.reisner@linbit.com> drbd: mod_req has now a return value

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
288f422ec13667de40b278535d2a5fb5c77352c4 27-May-2010 Philipp Reisner <philipp.reisner@linbit.com> drbd: Track all IO requests on the TL, not writes only

With that the drbd_fail_pending_reads() function becomes obsolete.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h
d255e5ff5fc6cc6c60dd014d1261448a7bbc8134 27-May-2010 Lars Ellenberg <lars.ellenberg@linbit.com> drbd: fix hang on local read errors while disconnected

"canceled" w_read_retry_remote never completed, if they have been
canceled after drbd_disconnect connection teardown cleanup has already
run (or we are currently not connected anyways).

Fixed by not queueing a remote retry if we already know it won't work
(pdsk not uptodate), and cleanup ourselves on "cancel", in case we hit a
race with drbd_disconnect.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/drivers/block/drbd/drbd_req.h
3ad2f3fbb961429d2aa627465ae4829758bc7e07 03-Feb-2010 Daniel Mack <daniel@caiaq.de> tree-wide: Assorted spelling fixes

In particular, several occurances of funny versions of 'success',
'unknown', 'therefore', 'acknowledge', 'argument', 'achieve', 'address',
'beginning', 'desirable', 'separate' and 'necessary' are fixed.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Joe Perches <joe@perches.com>
Cc: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
/drivers/block/drbd/drbd_req.h
ab8fafc2e1ecc0090f2c78902d3b992eec8b11f8 28-Sep-2009 Lars Ellenberg <lars.ellenberg@linbit.com> dropping unneeded include autoconf.h

It is force-included on the gcc command line since at least 2.6.15.
Explicit include lines seem to break compilation now in certain configurations.

Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
/drivers/block/drbd/drbd_req.h
b411b3637fa71fce9cf2acf0639009500f5892fe 26-Sep-2009 Philipp Reisner <philipp.reisner@linbit.com> The DRBD driver

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
/drivers/block/drbd/drbd_req.h