- 18 5月, 2010 1 次提交
-
-
由 Lars Ellenberg 提交于
To document that we know about deprecation of proc_create, even though we are not affected, as we don't use the ->data member, open code proc_create_data(..., NULL); Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com> Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
-
- 22 4月, 2010 1 次提交
-
-
由 Dan Carpenter 提交于
We leak memory if "--dry-run" is not supported by the peer. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
-
- 11 3月, 2010 2 次提交
-
-
由 Lars Ellenberg 提交于
Fixes a race and potential kernel panic if e.g. the worker was just about to send a few P_RS_IS_IN_SYNC via the meta socket for checksum based resync, while the receiver destroys the sockets in drbd_disconnect. To make sure no-one is using the meta socket, it is not enough to stop the asender... Grab the meta socket mutex before destroying it. Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com> Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
-
由 Philipp Reisner 提交于
Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com> Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
-
- 22 1月, 2010 1 次提交
-
-
由 Lars Ellenberg 提交于
blk_queue_make_request() internally calls blk_set_default_limits(), so calling blk_queue_max_segment_size() before is useless. Ergo: move the call to blk_queue_max_segment_size() down a few lines. Impact: If, after a fresh modprobe, you first connect a Diskless drbd, then attach, this could result in a DRBD Protocol Error at first. The next connection attempt would then succeeded. Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com> Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
-
- 30 12月, 2009 1 次提交
-
-
由 Philipp Reisner 提交于
In D_DISKLESS we do not hand out any new references to ldev (local_cnt) therefore waiting until all previously handed out refereces got returned is sufficient before actually freeing mdev->ldev. Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com> Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
-
- 21 12月, 2009 3 次提交
-
-
由 Huang Weiyi 提交于
Remove unused #include <linux/version.h>('s) in drivers/block/drbd/drbd_main.c drivers/block/drbd/drbd_receiver.c drivers/block/drbd/drbd_worker.c Signed-off-by: NHuang Weiyi <weiyi.huang@gmail.com> Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
-
由 Roel Kluin 提交于
rsp->count is unsigned so the test does not work. Signed-off-by: NRoel Kluin <roel.kluin@gmail.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
-
由 Emese Revfy 提交于
Signed-off-by: NEmese Revfy <re.emese@gmail.com> Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
-
- 18 12月, 2009 1 次提交
-
-
由 Roel Kluin 提交于
rsp->count is unsigned so the test does not work. Signed-off-by: NRoel Kluin <roel.kluin@gmail.com> Cc: Lars Ellenberg <drbd-dev@lists.linbit.com> Cc: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
-
- 04 11月, 2009 1 次提交
-
-
由 Philipp Reisner 提交于
When IO gets frozen due to a broken fence-peer script, the user should be able to thaw IO by the resume-io command. Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com> Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
-
- 02 10月, 2009 3 次提交
-
-
由 Jens Axboe 提交于
They should be reimplemented in the current scheme. Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
-
由 Lars Ellenberg 提交于
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: NLars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: NKamalesh Babulal <kamalesh@linux.vnet.ibm.com> Acked-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Philipp Reisner 提交于
Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com> Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
-