linux/fs/ocfs2
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
..
cluster [PATCH] ocfs2 heartbeat: clean up bio submission code 2007-02-07 12:15:58 -08:00
dlm ocfs2_dlm: Add timeout to dlm join domain 2007-02-07 12:10:39 -08:00
alloc.c [PATCH] Fix numerous kcalloc() calls, convert to kzalloc() 2006-12-13 09:05:52 -08:00
alloc.h
aops.c ocfs2: Allow direct I/O read past end of file 2006-12-28 16:38:08 -08:00
aops.h
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c
dir.h
dlmglue.c ocfs2: always unmap in ocfs2_data_convert_worker() 2006-12-28 16:38:59 -08:00
dlmglue.h
endian.h
export.c ocfs2: cleanup ocfs2_iget() errors 2007-01-21 16:19:12 -08:00
export.h
extent_map.c
extent_map.h
file.c ocfs2: ignore NULL vfsmnt in ocfs2_should_update_atime() 2006-12-28 16:38:32 -08:00
file.h
heartbeat.c
heartbeat.h
inode.c ocfs2: cleanup ocfs2_iget() errors 2007-01-21 16:19:12 -08:00
inode.h
ioctl.c
ioctl.h
journal.c
journal.h ocfs2: ocfs2_link() journal credits update 2007-02-01 12:03:19 -08:00
localalloc.c [PATCH] Fix numerous kcalloc() calls, convert to kzalloc() 2006-12-13 09:05:52 -08:00
localalloc.h
Makefile
mmap.c
mmap.h
namei.c ocfs2: Directory c/mtime update fixes 2007-01-21 16:18:49 -08:00
namei.h
ocfs1_fs_compat.h
ocfs2.h
ocfs2_fs.h [PATCH] ocfs2: fix thinko in ocfs2_backup_super_blkno() 2007-01-26 14:53:27 -08:00
ocfs2_lockid.h
slot_map.c [PATCH] Fix numerous kcalloc() calls, convert to kzalloc() 2006-12-13 09:05:52 -08:00
slot_map.h
suballoc.c [PATCH] Fix numerous kcalloc() calls, convert to kzalloc() 2006-12-13 09:05:52 -08:00
suballoc.h
super.c [PATCH] Fix numerous kcalloc() calls, convert to kzalloc() 2006-12-13 09:05:52 -08:00
super.h
symlink.c ocfs2: Don't print errors when following symlinks 2007-01-21 16:18:14 -08:00
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
vote.c ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
vote.h