[Bugs] [Bug 1163623] Erasure Volume quota error

bugzilla at redhat.com bugzilla at redhat.com
Thu Dec 4 01:39:15 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1163623



--- Comment #6 from liangzhicheng <lllzhicheng at 163.com> ---
1> I make a patch for quota, that verify is pass; but no set quota, the problem
is still exist;

2>the key of the patch is:
 2.1> add a field in "quota_inode_ctx_t", when the quota is above, set the 
      field is true, others is false; 
 2.2> when write data into files, the call chain is
     
"ec_manager_writev-->xxxx-->quota_lookup-->quota_lookup_cbk-->xxxx-->ec_lo
      okup_cbk";xxxx is represent others function in the call chain; 
      2.2.1> the function of quota_lookup_cbk check the field, if it is true, 
      then return error, that is "EDQUOT";
      2.2.2> the function of ec_lookup_cbk is also check error, if that is 
      EDQUOT,then return EIO for ec_manager_writev, the result is write data is 
      abort; when stop quota, the data of writed can read;
3> that patch still has some problems can not resolve, when the quota is above,
   modify the value of quota, but the data of writed can not read; that must 
   stop quota, the data of writed can read;
4> I modify the patch, when it can resolve the problem of "3>", I upload to the 
   bugzilla of glusterfs;
5> others can upload the best patch for resolve this problems;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=kwbEaxMRUm&a=cc_unsubscribe


More information about the Bugs mailing list