Philipp Reisner b559292e06 [PATCH] ocfs2 heartbeat: clean up bio submission code
As was already pointed out Mathieu Avila on Thu, 07 Sep 2006 03:15:25 -0700
that OCFS2 is expecting bio_add_page() to add pages to BIOs in an easily
predictable manner.

That is not true, especially for devices with own merge_bvec_fn().

Therefore OCFS2's heartbeat code is very likely to fail on such devices.

Move the bio_put() call into the bio's bi_end_io() function. This makes the
whole idea of trying to predict the behaviour of bio_add_page() unnecessary.
Removed compute_max_sectors() and o2hb_compute_request_limits().

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-02-07 12:15:58 -08:00
..
2006-12-08 08:28:48 -08:00
2006-12-01 18:28:51 -08:00
2007-01-21 16:19:12 -08:00
2006-12-07 08:39:25 -08:00
2006-12-01 18:29:14 -08:00
2006-12-07 17:37:53 -08:00
2007-01-21 16:19:12 -08:00
2006-12-07 08:39:25 -08:00
2006-09-20 15:48:39 -07:00
2006-12-07 17:37:53 -08:00
2006-09-20 15:48:39 -07:00
2006-12-07 17:37:53 -08:00
2007-01-21 16:18:49 -08:00
2006-12-07 17:37:53 -08:00
2006-03-24 14:58:24 -08:00
2006-12-07 08:39:25 -08:00
2006-09-24 13:50:43 -07:00