Whamcloud - gitweb
LU-971 mdt: fix open resent issue with last_xid
authorMikhail Pershin <tappro@whamcloud.com>
Mon, 9 Jan 2012 13:46:10 +0000 (17:46 +0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 16 Feb 2012 17:37:13 +0000 (12:37 -0500)
commited5e47ac21b02abb16b10446dac7dae722259f0a
treebcae1d646fa266bcd0cb688b66a53df2576f0fc5
parent7f0ca87bab0d91641431515fa7e3f24bc4aea75e
LU-971 mdt: fix open resent issue with last_xid

req_xid_is_last() compares xid with one in client data,
but in master it is not updated in case of open without create.
Patch updates export lcd with last xid, transno and rc for open
requests.

Signed-off-by: Mikhail Pershin <tappro@whamcloud.com>
Change-Id: I9e769fecc1e93c7a556d4b9eeadc80a70369e901
Reviewed-on: http://review.whamcloud.com/1930
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Li Wei <liwei@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_open.c