OCFS2: allow the ocfs2 heartbeat thread to prioritize I/O --revision 3
PATCH 2/3 OCFS2: allow the ocfs2 heartbeat thread to prioritize I/O --revision 3
- call ocfs2_hb_ctl to prioritize thread I/O after mounting the device
zhen wei
[email protected]
+86 10 65339225
-------------- next part --------------
mount.ocfs2/mount.ocfs2.c +1 -0
@@ -393,6 +393,7 @@ int main(int argc, char **argv) goto bail; } +run_hb_ctl (hb_ctl_path, mo.dev,"-P" ); update_mtab_entry(mo.dev, mo.dir, OCFS2_FS_NAME, fix_opts_string(((mo.flags & ~MS_NOMTAB) | MS_NETDEV), extra, NULL),
PATCH 2/3 OCFS2: allow the ocfs2 heartbeat thread to prioritize I/O --revision 3
mount.ocfs2/mount.ocfs2.c int main(int argc, char **argv) · line 396
Quoted 7 lines · Zhen Wei
mount.ocfs2/mount.ocfs2.c +1
-0@@ -393,6 +393,7 @@ int main(int argc, char **argv) goto bail; } +run_hb_ctl (hb_ctl_path, mo.dev,"-P" );
Don't we need to add another argument for the actual priority value?
--Mark
--
Mark Fasheh
Senior Software Developer, Oracle
[email protected]
PATCH 2/3 OCFS2: allow the ocfs2 heartbeat thread to prioritize I/O --revision 3
Quoted 2 lines · Mark Fasheh
mount.ocfs2/mount.ocfs2.c int main(int argc, char **argv) · line 396
Quoted 1 line
mount.ocfs2/mount.ocfs2.c +1
-0+run_hb_ctl (hb_ctl_path, mo.dev,"-P" );Don't we need to add another argument for the actual priority value?
Never mind - I see that ocfs2_hb_ctl will just pick the default.
Ok, both userspace patches and the kernel patch are merged now. Thanks!
--Mark
--
Mark Fasheh
Senior Software Developer, Oracle
[email protected]