[LU-5878] lfs migrate sends file to stdout Created: 06/Nov/14 Updated: 04/Dec/14 Resolved: 04/Dec/14 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.7.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Frank Zago (Inactive) | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | MB, patch | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 16439 | ||||||||
| Description |
|
The following test will not migrate the files, but sends them to stdout (eg. the display). ./llmount.sh cd /mnt/lustre cp /bin/ls . ~/lustre-cleanup/lustre/utils/lfs migrate -o 0 ls The problem is in llapi_file_open_param(), where rc is set to 1 by llapi_search_ost(), and then never reset. Patch will follow. (I can't believe that didn't break any test!) |
| Comments |
| Comment by Frank Zago (Inactive) [ 06/Nov/14 ] |
| Comment by Andreas Dilger [ 06/Nov/14 ] |
|
The llapi_file_open_param() function was added in patch http://review.whamcloud.com/9383 |
| Comment by Jodi Levi (Inactive) [ 06/Nov/14 ] |
|
Yu Jian, |
| Comment by Gerrit Updater [ 04/Dec/14 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12601/ |
| Comment by Jian Yu [ 04/Dec/14 ] |
|
Patch was landed on master branch. |