]> git.karo-electronics.de Git - mv-sheeva.git/commit
drbd: debug: limit nelink-broadcast of request on digest mismatch to 32k
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 11 Nov 2010 09:47:05 +0000 (10:47 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:19:09 +0000 (11:19 +0100)
commit3129b1b9aed15bbebde1b2a5719434273feb295d
tree1a9242e43ae853c6af2c20278d814d0138eb9f37
parent470be44ab1841f3261a4d758450a42e6b79e9551
drbd: debug: limit nelink-broadcast of request on digest mismatch to 32k

We used to be limited to 32k requests,
but have increased that limit to 128k now.

This part of the code can only deal with 32k,
it would scramble arbitrary pages for larger requests.

As it is used for debugging only anyways,
it is ok to simply truncate the dumped data here.

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