]> git.hungrycats.org Git - linux/commit
[PATCH] md: Fulltime delayed 'safe_mode' for md
authorNeil Brown <neilb@cse.unsw.edu.au>
Fri, 14 Mar 2003 10:09:01 +0000 (02:09 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 14 Mar 2003 10:09:01 +0000 (02:09 -0800)
commit9578658e998baaf5bf36d1053b690bd28976b1ca
treee5fec4439e312003331cd2b6745e90f9f6feff63
parent8eec7ce0744430471c1fce2a503829cd7cd80f11
[PATCH] md: Fulltime delayed 'safe_mode' for md

From: Angus Sawyer <angus.sawyer@dsl.pipex.com>

If there are no writes for 20 milliseconds, write out superblock
to mark array as clean.  Write out superblock with
dirty flag before allowing any further write to succeed.

If an md thread gets signaled with SIGKILL, reduce the
delay to 0.

Also tidy up some printk's and make sure writing the
superblock isn't noisy.
drivers/md/md.c
include/linux/raid/md_k.h