Calling "lfs setstripe" prints a suprious warning about using the old
ioctl(LL_IOC_LOV_GETSTRIPE) when that is not actually the case.
Remove the ioctl warning for now and deal with related issues later.
Fixes:
364ec95f3688 ("LU-9367 llite: restore ll_file_getstripe in ll_lov_setstripe")
Lustre-change: https://review.whamcloud.com/41427
Lustre-commit:
c6f65d8af116476d4fa62604a90b2e0d657b29b2
Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I20f5a7adb60a30fce27e49827bd46229e2ce7057
Reviewed-on: https://review.whamcloud.com/43103
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
struct lov_user_md_v1 lum;
size_t lmmk_size, lum_size = 0;
ssize_t lmm_size;
- static bool printed;
int rc = 0;
ENTRY;
GOTO(out, rc = -EIO);
}
- if (!printed) {
- LCONSOLE_WARN("%s: using old ioctl(LL_IOC_LOV_GETSTRIPE) on "
- DFID", use llapi_layout_get_by_path()\n",
- current->comm,
- PFID(&obj->lo_cl.co_lu.lo_header->loh_fid));
- printed = true;
- }
-
lmmk_size = lov_comp_md_size(lsm);
OBD_ALLOC_LARGE(lmmk, lmmk_size);