Whamcloud - gitweb
Branch: b1_6
authorwangdi <wangdi>
Sun, 14 Oct 2007 19:32:41 +0000 (19:32 +0000)
committerwangdi <wangdi>
Sun, 14 Oct 2007 19:32:41 +0000 (19:32 +0000)
commitd3488bbf9c10e19506b31613fa80350a0a6b2a4b
tree7f0835de1553eff495c6601a5482f1fc747072ce
parent6220b86f1d071338d99b269d8cd30152816ae643
Branch: b1_6
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