[Bugs] [Bug 1284823] fops-during-migration.t fails if hot and cold tiers are dist-rep
bugzilla at redhat.com
bugzilla at redhat.com
Tue Nov 24 09:58:28 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1284823
--- Comment #1 from Nithya Balachandran <nbalacha at redhat.com> ---
Analysis:
echo $TEST_STR > $M0/dir1/FILE1
performs an ftruncate operation.
Investigation reveals that when a file is being migrated by the tier layer, the
redirection of the ftruncate FOP to the dst subvol fails as posix_ftruncate
fails in sys_ftruncate with op_errno EINVAL. This is because the fd being used
has flags=0.
AFR calls afr_fix_open() to open the fd on the dst subvol but ends up using
flags = 0 (instead of using the required flags). This causes the ftruncate to
fail with EINVAL.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list