Hello,

When using filebench to test our NFS server's file delegation granting 
policy we need to have files opened for read only (Currently, the 
server only gives delegations to files that are opened RDONLY.)  In 
flowop_library.c, I made duplicates of the flowoplib_openfile and 
flowoplib_openfile_common functions and made them open files O_RDONLY 
with 0444 permission instead of O_RDWR with 0666 (and added them to the 
flowoplib_funcs[]).  Then in the .f scripts I could call 
openfile_rdonly().  This seems to do what I want. It would be nice if 
this functionality could be added to filebench. Thanks.

-Meelap Shah

_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to