When copying a file from a Windows client to a CIFS share hosted on CentOs
our filesystem appears to be getting a relatively large number of get_xattr
calls for the same attribute on the file being copied. During the copy
operation, the filesystem receives a set_xattr call with an attribute of
size 56. The subsequent get_xattr calls have a buffer size of 256. Our
filesystem's implementation returns the appropriate value and size (56) for
each get_xattr call. However, there are a total of 5 get_xattr calls. Does
the get_xattr call expect the return value to be the same size as the
buffer size? Or is this a simple coincidence that the sum of the return
values is finally >=256?
The environment is:
Server CentOs 5.5
CIFS exported shared
Get latest updates about Open Source Projects, Conferences and News.