Whamcloud - gitweb
b=1883
authorzab <zab>
Wed, 17 Sep 2003 22:06:43 +0000 (22:06 +0000)
committerzab <zab>
Wed, 17 Sep 2003 22:06:43 +0000 (22:06 +0000)
commit0ac3fc7a25ef1d09d79499230152bc140d572336
tree0fcd40fafaf57507d5bc28d2491ef21d1c176613
parent1831b54a7f8df1851c1759eac8589d1b5dd6b86c
b=1883
r=braam
Wait for dirty data to be handled (writeback, truncate, etc) before issueing
the mdc close.  This is done by tracking opens for write and dirty data and
deferring mdc close at file_release if there aren't other opens for write and
there is dirty data.  We perform these deferred closes when the dirty data is
taken care of or when another open for write comes along.

Also, a hot sanity test to verify the behaviour.
lustre/llite/llite_internal.h