I'm fine with the attribute part of this case, the ls output and the VOP interfaces.
However I might be missing part of a bigger picture here. Who is expected to set this - I assume SAM-FS or similar ? How is a consumer encountering such an attribute supposed to do something about it when they find such a file and were do they find the info to do something about it. For example the CIFS server is servicing a request from a CIFS client. The attribute is set of a file in the ZFS filesystem that is shared over CIFS. Is it the client or server that needs to look at the offline attribute ? Is one of them supposed to know to bring the file online ? If so how do they do that ? Maybe what I'm missing is knowing how SAM-FS (or something similar) fits into the picture with ZFS being used for storage and the CIFS client and server. A picture (ASCII is fine) might help. -- Darren J Moffat