android_kernel_xiaomi_sm8350/fs/ocfs2/cluster
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
..
endian.h
heartbeat.c [PATCH] ocfs2 heartbeat: clean up bio submission code 2007-02-07 12:15:58 -08:00
heartbeat.h
Makefile
masklog.c
masklog.h
nodemanager.c [PATCH] Fix numerous kcalloc() calls, convert to kzalloc() 2006-12-13 09:05:52 -08:00
nodemanager.h [patch 2/3] OCFS2 Configurable timeouts 2006-12-07 18:13:20 -08:00
ocfs2_heartbeat.h
ocfs2_nodemanager.h
quorum.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
quorum.h
sys.c
sys.h
tcp_internal.h ocfs2: introduce sc->sc_send_lock to protect outbound outbound messages 2007-02-07 12:15:11 -08:00
tcp.c ocfs2: introduce sc->sc_send_lock to protect outbound outbound messages 2007-02-07 12:15:11 -08:00
tcp.h ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
ver.c
ver.h