diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-07 15:57:17 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-09 15:07:59 +0100 |
commit | 2ce5406504540399ed78306198802fc4e1824de7 (patch) | |
tree | f1aa029cbe1b85b72cd8a26de07ff04c8ab33814 /trans/null.c | |
parent | cf1cc29af12447c347a5574b4dc1568c7db61c0b (diff) |
trans: improve the performance of dir_lookup in fakeroot
Previously any FS_RETRY_NORMAL requests were handed back to the
client. Redo the lookup ourself instead. This saves us the burden to
create a fake node for the intermediate step, hand it back to the
client and handle another request from the client.
With this change there is no need to fiddle with the permission bits
as it was previously done.
* trans/fakeroot.c (netfs_S_dir_lookup): Redo the lookup transparently
for the user if FS_RETRY_NORMAL is requested.
fixup_improve_perf
Diffstat (limited to 'trans/null.c')
0 files changed, 0 insertions, 0 deletions