Whamcloud - gitweb
LU-662 fix conflict between seq_client_flush and seq_client_alloc_fid
authorHongchao Zhang <hongchao.zhang@whamcloud.com>
Fri, 9 Sep 2011 11:00:39 +0000 (19:00 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 13 Sep 2011 19:59:29 +0000 (15:59 -0400)
commitd1feb5c774d4690a4d4c4828d734a2604438f923
treede1b93d8c596fcb38382ad496f35bbfb93675a6b
parent303f41aa0ff07a43a31e397a3d163a6b8b6e4864
LU-662 fix conflict between seq_client_flush and seq_client_alloc_fid

seq_client_flush modifies the lu_client_seq.lcs_space by holding the
lu_client_seq.lcs_sem, but seq_client_alloc_fid uses lcs_update to
exclude other concurrent modification.

Change-Id: Ibc3335841b9a045360283e15aab9b6c36b7a39af
Signed-off-by: Hongchao Zhang <hongchao.zhang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1364
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/fid/fid_request.c
lustre/fid/lproc_fid.c