[PVFS-developers] why do lookup after create/mkdir?

songdm@lenovo.com songdm@lenovo.com
Thu, 25 Dec 2003 18:53:17 +0800


Hi,all,

I find that in pvfs_file_create function, ll_pvfs_lookup is called after
ll_pvfs_create. And  pvfs_mkdir do the same after ll_pvfs_mkdir. It results
in once more communication between client node and mgr node. I think it
isn't neccessory. Why not do all the tasks in ll_pvfs_create? Thus we can
improve throughput of pvfs.

Best regards
Song Dongmei