ocfs2: Stop orphan scan as early as possible during umount
authorSunil Mushran <sunil.mushran@oracle.com>
Fri, 19 Jun 2009 23:53:17 +0000 (16:53 -0700)
committerJoel Becker <joel.becker@oracle.com>
Mon, 22 Jun 2009 21:24:51 +0000 (14:24 -0700)
commit692684e19e317a374c18e70a44d6413e51f71c11
treec47da5b21e66f80458fff3da4cda72b8e0644c0f
parentc3d38840abaa45c1c5a5fabbb8ffc9a0d1a764d1
ocfs2: Stop orphan scan as early as possible during umount

Currently if the orphan scan fires a tick before the user issues the umount,
the umount will wait for the queued orphan scan tasks to complete.

This patch makes the umount stop the orphan scan as early as possible so as
to reduce the probability of the queued tasks slowing down the umount.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/journal.c
fs/ocfs2/ocfs2.h
fs/ocfs2/super.c