Whamcloud - gitweb
Branch:HEAD
authorwangdi <wangdi>
Sun, 14 Oct 2007 20:18:32 +0000 (20:18 +0000)
committerwangdi <wangdi>
Sun, 14 Oct 2007 20:18:32 +0000 (20:18 +0000)
commit27fc145d8417210482c8be212d97d8b720e271b7
tree7396f9b5ad35fa31675806adf164c253e432fdf1
parent456648321375a107d41134bb47b99a12f3873a4c
Branch:HEAD
b=13570
In filter_check_grant, for non_grant cache write, we should
check the left space by  if (*left > ungranted + bytes), instead
of (*left > ungranted), because only we are sure the left space
is enough for another "bytes", then the ungrant space should be
increase. In client, we should update cl_avail_grant only there is
OBD_MD_FLGRANT in the reply.
i=adilger,green
lustre/ChangeLog
lustre/obdfilter/filter_io.c
lustre/osc/osc_request.c