[Gluster-devel] Duplicate entries and other weirdness in a 3*4 volume

Anders Blomdell anders.blomdell at control.lth.se
Mon Jul 21 17:28:28 UTC 2014


On 2014-07-21 19:14, Jeff Darcy wrote:
>>>> But this offset gap widens as and when more translators (which need
>>>> to store subvol-id) get added to the gluster stack which may
>>>> eventually result in the similar issue which you are facing now.
> 
> Perhaps it's time to revisit the idea of making assumptions about d_off
> values 
+1 :-)

> and twiddling them back and forth, vs. maintaining a precise
> mapping between our values and local-FS values.
> 
> http://review.gluster.org/#/c/4675/
> 
> That patch is old and probably incomplete, but at the time it worked
> just as well as the one that led us into the current situation.
Seems a lot sounder than:
 
  However both these filesystmes (EXT4 more importantly) are "tolerant" in
  terms of the accuracy of the value presented back in seekdir(). i.e, a
  seekdir(val) actually seeks to the entry which has the "closest" true
  offset.



Let me know if you revisit this this one.

Thanks

Anders


-- 
Anders Blomdell                  Email: anders.blomdell at control.lth.se
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden



More information about the Gluster-devel mailing list