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
..
2007-01-05 23:55:22 -08:00
2007-02-06 20:43:30 +00:00
2006-12-08 08:28:44 -08:00
2007-02-05 13:38:27 -05:00
2006-12-08 08:28:45 -08:00
2007-02-07 10:48:48 -05:00
2006-12-08 08:28:45 -08:00
2007-01-30 08:26:44 -08:00
2006-12-08 08:28:45 -08:00
2006-12-08 08:28:45 -08:00
2007-01-26 10:14:36 -06:00
2006-12-08 08:28:47 -08:00
2006-11-16 11:43:38 -08:00
2006-12-08 08:28:48 -08:00
2006-12-08 08:28:49 -08:00
2006-12-08 08:28:50 -08:00
2007-01-30 08:26:45 -08:00
2006-11-16 11:43:38 -08:00
2006-01-11 18:42:13 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-04 06:51:26 -06:00
2006-12-07 08:39:25 -08:00
2006-01-08 20:12:40 -08:00
2006-04-11 13:53:33 +02:00
2006-12-13 09:05:50 -08:00
2006-12-07 08:39:25 -08:00
2006-12-13 09:05:50 -08:00
2006-10-01 00:39:19 -07:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:11 -08:00
2006-12-13 09:05:47 -08:00
2006-12-22 08:55:48 -08:00
2005-04-16 15:20:36 -07:00