[Pvfs2-developers] Setting the dfile count
Murali Vilayannur
vilayann at mcs.anl.gov
Thu Jun 8 16:14:51 EDT 2006
Hi Brad,
Doesn't attr.mask |= PVFS_ATTR_SYS_DFILE_COUNT prior to calling sys_create() do
the trick? Am i missing something?
Thanks,
Murali
On Thu, 8 Jun 2006, Bradley W Settlemyer wrote:
> Hello
>
> In trying to set the dfile count, I'm finding that the attribute mask
> is set to
>
> attr.mask = 0x3f
>
> during file creation.
>
> I apparently need there to be a 1 in the 7th bit position (<<25) in
> order to set the dfile count (based on pvfs2-types.h). I am passing in
> the number of dfiles I want, but since the mask isn't set correctly I
> can't set it. How do I fiddle with the attribute mask, the sys-getattr
> machine is complex.
>
> Cheers,
> Brad
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>
>
More information about the Pvfs2-developers
mailing list