>From <madhu.punj...@in.ibm.com>:

madhu.punj...@in.ibm.com has uploaded this change for review. ( 
https://review.gerrithub.io/388160


Change subject: Change type of 'lru_run_interval' to 32 bit for big endian 
systems
......................................................................

Change type of 'lru_run_interval' to 32 bit for big endian systems

Currently type of 'lru_run_interval' is time_t, but it
is configured using 'CONF_ITEM_UI32' to time interval of say
'n' seconds. This creates issue on 64 bit big endian
system where time_t has size of 8 bytes, there
'lru_run_interval' gets configured to time interval of 'n << 32'
seconds which is large and with this LRU reaper thread won't get
invoked after expected time interval of 'n' seconds.
Fixed this by changing type of 'lru_run_interval' to 32 bit
integer, as 4 bytes is sufficient.
Note: A similar fix exists in ganesha 2.3/2.4 in cache_inode code
with commit eed0c97e55df75fbd2a805915c2ce02d1d6662be, but looks it was
missed being carried forward with the MDCACHE module.

Change-Id: I045cdbe2a48afb2c4884b24fdd7fc8561ff64a52
Signed-off-by: Madhu Thorat <madhu.punj...@in.ibm.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_ext.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/60/388160/1
-- 
To view, visit https://review.gerrithub.io/388160
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I045cdbe2a48afb2c4884b24fdd7fc8561ff64a52
Gerrit-Change-Number: 388160
Gerrit-PatchSet: 1
Gerrit-Owner: madhu.punj...@in.ibm.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to