Prakash-Surya/lustre — comment on commit d6e2b4bb3ea7775588de6beb8ad01049fbeacec7
File: lustre/mdt/mdt_handler.c line 4517
By nedbass:

I believe PATH_MAX is 4096 which is also the size of the ldd_params field in struct lustre_disk_data. So the the upcall path can't exceed 4k, but you could always use strncpy just to be safe.