Whamcloud - gitweb
LU-13344 servers: change request timeouts to s32 50/37950/2
authorJames Simmons <jsimmons@infradead.org>
Tue, 17 Mar 2020 11:31:08 +0000 (07:31 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 31 Mar 2020 07:01:25 +0000 (07:01 +0000)
commita114f6b8c52bb97dcad093e5cb32b903ae9f602f
treee7101dd3c7348aab31b12acbee582217723d3c49
parent7e0efa0f28b3401f75308b4d297639f6c2790873
LU-13344 servers: change request timeouts to s32

In the latest kernels time_t has been removed since time_t has
been a 64 bit value just like time64_t so no need for it anymore.
The field sf_run_time is stored on local media and its expected
to be 32 bit in size so change it to s32 explictly. The fields
the MDT coordinator that are currently time_t are a simple change
to s32 since they represent a time period and not a time stamp.
Lastly just update a comment in llog_swab.c since time_t will no
longer exist but we want to point out time in the llog is 32 bits
in size.

Change-Id: I0849fc9798c191d1fed77f7bba1357a209924418
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/37950
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_scrub.h
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_internal.h
lustre/obdclass/llog_swab.c
lustre/obdclass/scrub.c