We were noticing some EINVAL errors coming from dm_read_invis() on our XFS
1.1 system. It looks like the sys_dmapi_args_t structure that is used to
pass data from the DMAPI library to the kernel is using long ints to store
the offset and length of the read. It turns out that we were trying to
read some data just past a 2GB offset, and that value in a signed long int
is interpreted as a fairly large negative number, which explains the EINVAL
return code.
Is this something that can be changed by recompiling with certain flags set
(the kernel and the dmapi library), or am I simply hosed?
Thanks,
-James Goodwin
Software Engineer
IBM Global Services - Federal
jagoodwi@xxxxxxxxxx
Phone: (281) 336 2578
Fax: (281) 335 4231
T/L 260-2578
|