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)
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>

No differences found