Created attachment 7863 [details] backported fix for XFS quota support from master XFS quota support did not work at all. The attached patch is a backport of the fix in master. This should go into the next 3.6 release.
My deep apologies for not being quick enough. I spent the whole day on a customer defect and now I am trying to figure out how to enable this patch. --with-quotas=yes was not sufficient, now I am trying both --with-quotas=yes and --with-sys-quotas=yes. Again, sorry for not doing instant review.
How on earth can I activate this freaking code???? --with-quotas=yes and --with-sys-quotas=yes does not work on sn-devel.
Created attachment 7871 [details] fixed xfs quota patch for 3.6 sorry, the problem is if you touch something in the 3.6 quota tests, everything else blows up also. This corrected patch now moved the actual linux-xfs test to the end of the quota patches which makes it work for me now. In addition to that this looks like the minimal aproach to me which should not touch any of the other quota stuff.
Comment on attachment 7871 [details] fixed xfs quota patch for 3.6 For the very reason you state "everything else blows up", I give this a -. We will never be able to go through all supported platforms and make sure that they do not break. This is not fixable in any reasonable amount of time.
Sorry, this has given me enough headaches that I am not willing to spend any more time on it.
(In reply to comment #3) > Created attachment 7871 [details] > fixed xfs quota patch for 3.6 > > sorry, the problem is if you touch something in the 3.6 quota tests, everything > else blows up also. This corrected patch now moved the actual linux-xfs test to > the end of the quota patches which makes it work for me now. In addition to > that this looks like the minimal aproach to me which should not touch any of > the other quota stuff. We had a similar report that Samba 3.6.8 with XFS and quota does not work properly with our Debian based distribution. After applying the patch and rebuild Samba it seems to work but I have currently only tested Samba 3 and XFS. I will also test Samba 4 and check both Samba versions with ext3 / ext4. Can I do anything more to get the patch upstream? Thanks Stefan