Whamcloud - gitweb
b=22241 call sync instead of fsync on local cancel to reduce stack usage
authorJohann Lombardi <johann@sun.com>
Fri, 12 Mar 2010 14:28:41 +0000 (15:28 +0100)
committerJohann Lombardi <johann@sun.com>
Fri, 12 Mar 2010 14:28:41 +0000 (15:28 +0100)
commite2f38bfaacc38a6febafd5828deb48df81ffa656
treed3cc1f774b35fae569c6ffde702d9ebf135c1ea7
parentd6cbaaf0424af30aee454b4cf7a809388dcd58a0
b=22241 call sync instead of fsync on local cancel to reduce stack usage

i=oleg
i=andreas

sync_on_lock_cancel is needed for recovery when async journal is enabled,
but we actually just need to make sure that metadata blocks have hit the
journal, so doing a fs sync should be enough and should consume less
stack (just create an empty handle and commmit it).
lustre/ost/ost_handler.c