[LU-12481] conf-sanity test_61: setfattr: /mnt/lustre/f61.conf-sanity: Argument list too long Created: 28/Jun/19 Updated: 12/Jul/19 Resolved: 12/Jul/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Maloo | Assignee: | Andreas Dilger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
This issue was created by maloo for Andreas Dilger <adilger@whamcloud.com> This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/80f078fe-6bed-11e9-a6f9-52540065bddc test_61 failed with the following error in the test logs: save large xattr trusted.big on /mnt/lustre/f61.conf-sanity setfattr: /mnt/lustre/f61.conf-sanity: Argument list too long conf-sanity test_61: @@@@@@ FAIL: saving trusted.big on /mnt/lustre/f61.conf-sanity failed saving trusted.big on /mnt/lustre/f61.conf-sanity failed The client console log reports -E2BIG = "Argument list too long" as an error: LustreError: 11-0: lustre-MDT0000-mdc-ffff92be1e196000: operation mds_reint to node 10.9.4.157@tcp failed: rc = -7 and the MDS console log has a matching failure: LustreError: 17620:0:(mdt_handler.c:2143:mdt_reint_internal()) Can't unpack reint, rc -7 which is failing the check: int mdt_reint_setxattr() { : if (rr->rr_eadatalen > info->mti_mdt->mdt_max_ea_size) RETURN(-E2BIG); static int mdt_init0(const struct lu_env *env, struct mdt_device *m, { : m->mdt_max_ea_size = dt_conf->ddp_max_ea_size; Where ddp_max_ea_size is fetched from the underlying OSD implementation (ldiskfs only in the case of this test). In this test with ea_inode enabled on the MDT it should be at least 64KB. It looks like the problem is the following code: static void osd_conf_get(const struct lu_env *env, { : if (param->ddp_max_ea_size > OBD_MAX_EA_SIZE - ea_overhead) param->ddp_max_ea_size = OBD_MAX_EA_SIZE - ea_overhead; introduced in patch https://review.whamcloud.com/34058 " Patch forthcoming. VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV |
| Comments |
| Comment by Andreas Dilger [ 28/Jun/19 ] |
|
So there is a separate question of whether the MDS should limit the maximum xattr size to what the client VFS limit is, or if that will be limiting in the future? I've been getting requests to bump the maximum xattr size to 1MB, and to push that to the upstream kernel since 64KB xattrs are becoming limiting for some purposes today. Since the client VFS itself already strongly enforces the 64KB limit, we shouldn't see larger xattrs at the MDS unless the client limit is changed, but if it does change then we will have an artificial limit on the server. |
| Comment by Gerrit Updater [ 28/Jun/19 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35352 |
| Comment by Gerrit Updater [ 12/Jul/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35352/ |
| Comment by Peter Jones [ 12/Jul/19 ] |
|
Landed for 2.13 |