linux/drivers/block/drbd
Andreas Gruenbacher 206d358941 drbd: Concurrent write detection fix
Commit 9b1e63e changed the concurrent write detection algorithm to only insert
peer requests into write_requests tree after determining that there is no
conflict.  With this change, new conflicting local requests could be added
while the algorithm runs, but this case was not handled correctly.  Instead of
making the algorithm deal with this case, switch back to adding peer requests
to the write_requests tree immediately: this improves fairness.

When a peer request is discarded, remove that request from the write_requests

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2011-10-14 16:47:49 +02:00
..
drbd_actlog.c drbd: new on-disk activity log transaction format 2011-10-14 16:47:46 +02:00
drbd_bitmap.c drbd: silence some log messages on bitmap IO 2011-10-14 16:47:47 +02:00
drbd_int.h drbd: new on-disk activity log transaction format 2011-10-14 16:47:46 +02:00
drbd_interval.c drbd: Iterate over all overlapping intervals in a tree 2011-10-14 16:47:37 +02:00
drbd_interval.h drbd: Iterate over all overlapping intervals in a tree 2011-10-14 16:47:37 +02:00
drbd_main.c drbd: new on-disk activity log transaction format 2011-10-14 16:47:46 +02:00
drbd_nl.c drbd: new on-disk activity log transaction format 2011-10-14 16:47:46 +02:00
drbd_proc.c drbd: moved net_conf from mdev to tconn 2011-08-29 11:27:03 +02:00
drbd_receiver.c drbd: Concurrent write detection fix 2011-10-14 16:47:49 +02:00
drbd_req.c drbd: simplify condition in drbd_may_do_local_read() 2011-10-14 16:47:39 +02:00
drbd_req.h drbd: Rename drbd_endio_{pri,sec} -> drbd_{,peer_}request_endio 2011-10-14 16:47:36 +02:00
drbd_state.c drbd: Implemented connection wide state changes 2011-10-14 16:47:32 +02:00
drbd_state.h drbd: implemented receiving of P_CONN_ST_CHG_REQ 2011-10-14 16:45:05 +02:00
drbd_strings.c drbd: Rename enum drbd_state_ret_codes to enum drbd_state_rv 2011-03-10 11:36:18 +01:00
drbd_vli.h Fix common misspellings 2011-03-31 11:26:23 -03:00
drbd_worker.c drbd: fix a wrong likely(), updated comments 2011-10-14 16:47:47 +02:00
drbd_wrappers.h drbd: Rename drbd_endio_{pri,sec} -> drbd_{,peer_}request_endio 2011-10-14 16:47:36 +02:00
Kconfig
Makefile drbd: Moved the state functions into its own source file 2011-09-28 10:26:43 +02:00