Discussion:
[Libstoragemgmt-devel] Questions on 'file' argument of fs_child_dependency()
Gris Ge
2015-01-07 13:05:13 UTC
Permalink
Hi Guys,

I would like to confirmed why we need 'files' optional argument
in fs_child_dependency() call.

Only fs_file_clone() takes file name, but it's a clone action in side of
single file system, there is no child dependency for file.

On implementation, ONTAP plugin simply ignore 'files' argument.

Anything I missed?

Happy New Year to every one!
--
Gris Ge
Tony Asleson
2015-01-07 15:10:53 UTC
Permalink
Post by Gris Ge
Hi Guys,
I would like to confirmed why we need 'files' optional argument
in fs_child_dependency() call.
Only fs_file_clone() takes file name, but it's a clone action in side of
single file system, there is no child dependency for file.
On implementation, ONTAP plugin simply ignore 'files' argument.
Anything I missed?
No you didn't miss anything. This parameter was included in the case
that some other array that we support in the future has such a
requirement. Now that we have it in the API, it stays. This could be
deemed a good decision when we end up using it or a bad decision if it
never gets utilized.

Regards,
Tony

Loading...