PFL known issues tracking ticket
(LU-9349)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.0 |
| Fix Version/s: | Lustre 2.10.0 |
| Type: | Technical task | Priority: | Major |
| Reporter: | James Nunez (Inactive) | Assignee: | Zhenyu Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pfl | ||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
sanity test_27D fails when a default composite layout is set for the Lustre mount point with sanity test_27D: @@@@@@ FAIL: llapi_layout_test failed Looking at the test_log, we can see that sub tests 16 and 20 failed test 15: Can't change striping attributes of existing file . pass llapi_layout_test: llapi_layout_test.c:712: test16: assertion 'fcount == dcount' failed: 1 != 1152921504606846979 test 16: Default stripe attributes are applied as expected . fail (exit status 1) test 17: LLAPI_LAYOUT_WIDE is honored ...................... pass test 18: Setting pool with fsname.pool notation ............ pass test 19: Maximum length pool name is NULL-terminated ....... pass llapi_layout_test: llapi_layout_test.c:891: test20: assertion 'fcount == dcount' failed: 1 != 1152921504606846979 test 20: LLAPI_LAYOUT_DEFAULT is honored ................... fail (exit status 1) Looking at llapi_layout_test.c, it looks like the stripe count for the default layout does not match the count for the file layout 692 rc = llapi_layout_stripe_count_get(deflayout, &dcount); 693 ASSERTF(rc == 0, "errno = %d", errno); 694 695 /* First, with a default struct llapi_layout */ 696 filelayout = llapi_layout_alloc(); 697 ASSERTF(filelayout != NULL, "errno = %d", errno); 698 699 fd = llapi_layout_file_create(path, 0, 0640, filelayout); 700 ASSERTF(fd >= 0, "errno = %d", errno); 701 702 rc = close(fd); 703 ASSERTF(rc == 0, "errno = %d", errno); 704 705 llapi_layout_free(filelayout); 706 707 filelayout = llapi_layout_get_by_path(path, 0); 708 ASSERTF(filelayout != NULL, "errno = %d", errno); 709 710 rc = llapi_layout_stripe_count_get(filelayout, &fcount); 711 ASSERTF(rc == 0, "errno = %d", errno); 712 ASSERTF(fcount == dcount, "%"PRIu64" != %"PRIu64, fcount, dcount); Log for recent failures are at |
| Comments |
| Comment by Zhenyu Xu [ 10/May/17 ] |
|
1152921504606846979 == 0x1000000000000003 == LLAPI_LAYOUT_WIDE
When the default mount point layout contains -1 stripe_count, this value is returned as it's stripe_count. |
| Comment by Gerrit Updater [ 11/May/17 ] |
|
Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/27057 |
| Comment by Gerrit Updater [ 07/Jun/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27057/ |
| Comment by Peter Jones [ 07/Jun/17 ] |
|
Landed for 2.10 |