Description of problem: For link operation if the errno is EEXISTS, then the path is being printed as null. client protocol should print the actual path. [2012-04-04 23:36:43.981060] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat h: (null) [2012-04-04 23:36:43.981146] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat h: (null) [2012-04-04 23:36:43.981204] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat h: (null) [2012-04-04 23:36:43.981250] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat h: (null) [2012-04-04 23:36:43.981296] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat h: (null) [2012-04-04 23:36:43.981339] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat h: (null) [2012-04-04 23:36:43.981400] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat h: (null) [2012-04-04 23:36:43.981451] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981494] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981543] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981586] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981636] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981678] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981719] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981774] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981825] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981870] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981919] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Path: (null) [2012-04-04 23:36:43.981962] W [client3_1-fops.c:2438:client3_1_link_cbk] 0-mirror-client-2: remote operation failed: File exists. Pat: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
CHANGE: http://review.gluster.com/3122 (protocol/client: in link_cbk() try to print valid information in case of error) merged in master by Anand Avati (avati)
Checked with glusterfs-3.3.0qa40. Its working now and path is printed.