[LU-10986] make lfs project tolerant errors Created: 02/May/18 Updated: 02/Mar/19 Resolved: 18/Jul/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.12.0, Lustre 2.10.7 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Wang Shilong (Inactive) | Assignee: | Wang Shilong (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
1. If a pipe file exist in a directory, lfs project command stops there. Create a pipe file. [root@s17 lustre]# mkfifo tmp/pipe Set project ID. [root@s17 lustre]# lfs project -srp 500 tmp <This command does not return...> 2.If a symbolic link with missing target exists, lfs project command returns error and does not process remaining entries. Create a symbolic file and remove target. [root@s17 tmp]# ls -l total 0 -rw-r--r-- 1 root root 0 Apr 26 13:47 aaa -rw-r--r-- 1 root root 0 Apr 26 13:47 bbb lrwxrwxrwx 1 root root 18 Apr 26 13:50 ccc -> ../test1/4MB_file1 -rw-r--r-- 1 root root 0 Apr 26 13:52 ddd [root@s17 tmp]# rm -f ../test1/4MB_file1 [root@s17 tmp]# cd .. [root@s17 lustre]# lfs project -r tmp/ 500 P tmp//ddd 500 P tmp//bbb lfs: failed to open 'tmp//ccc': No such file or directory lfs: failed to handle dir 'tmp/': No such file or directory [root@s17 lustre]# Information about "aaa" is not displayed. |
| Comments |
| Comment by Gerrit Updater [ 02/May/18 ] |
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/32243 |
| Comment by Gerrit Updater [ 18/Jul/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32243/ |
| Comment by Peter Jones [ 18/Jul/18 ] |
|
Landed for 2.12 |
| Comment by Gerrit Updater [ 24/Jan/19 ] |
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34100 |
| Comment by Gerrit Updater [ 24/Jan/19 ] |
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34102 |
| Comment by Gerrit Updater [ 02/Mar/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34102/ |