dCache / nfs4j

Pure Java NFSv3 and NFSv4.2 implementation
Other
240 stars 76 forks source link

calculate index in the FsExport constructor #23

Closed DmitryLitvintsev closed 10 years ago

DmitryLitvintsev commented 10 years ago

While debugging slow NFS performance accompanied by high CPU usage noticed that FsExport.getIndex() determines some index on every call from what seems like immutable data. Moved it to constructor.

Target: master Request: 0.7 Acked-by: Paul Millar paul.millar@desy.de Albert Rossi arossi@fnal.gov Patch: https://rb.dcache.org/r/7372/ (cherry picked from commit 1ee6f7a2b91725ddee7801d5383b86039829b208)

dcache-ci commented 10 years ago

Can one of the admins verify this patch?

kofemann commented 10 years ago

ok to test.

dcache-ci commented 10 years ago

Test PASSed.