ocfs2: export heartbeat thread pid via configfs
authorZhen Wei <zwei@novell.com>
Fri, 8 Dec 2006 07:48:17 +0000 (00:48 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 29 Dec 2006 00:40:32 +0000 (16:40 -0800)
The patch allows the ocfs2 heartbeat thread to prioritize I/O which may
help cut down on spurious fencing. Most of this will be in the tools -
we can have a pid configfs attribute and let userspace (ocfs2_hb_ctl)
calls the ioprio_set syscall after starting heartbeat, but only cfq
scheduler supports I/O priorities now.

Signed-off-by: Zhen Wei <zwei@novell.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>

No differences found