[LU-8835] More 64 bit divides without do_div. Created: 15/Nov/16  Updated: 18/Jan/17  Resolved: 18/Jan/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0
Fix Version/s: Lustre 2.10.0

Type: Bug Priority: Minor
Reporter: James A Simmons Assignee: Yang Sheng
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates LU-6163 64-bit divides should use do_div() Resolved
Related
is related to LU-6215 Sync Lustre external tree with lustre... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

While porting more patches to upstream the problem of __umoddi reappeared with new patches that landed. The patches that landed with this defect are:

http://review.whamcloud.com/15316
http://review.whamcloud.com/10458



 Comments   
Comment by Joseph Gmitter (Inactive) [ 15/Nov/16 ]

Hi Yang Sheng,

Can you please have a look at this?

Thanks.
Joe

Comment by Gerrit Updater [ 16/Nov/16 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/23814
Subject: LU-8835 osc: handle 64 bit time properly in osc_cache_too_much
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3406027771e3a9cc45f085e84a3c072d54974b48

Comment by James A Simmons [ 16/Nov/16 ]

I found the do_div issues in llog.c has already been fixed in master (LU-6134). Its just missing from b2_8_fe. The other do_div bug was introduced with the move to 64 bit time upstream. I submitted a patch here that moves to 64 bit time and resolves the do_div issue. I submitted to master so people can review this work to make sure I did it right,

Comment by Gerrit Updater [ 18/Jan/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/23814/
Subject: LU-8835 osc: handle 64 bit time properly in osc_cache_too_much
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 11dfa318972db8c8d4bdc36848a4aee8072557f7

Comment by Peter Jones [ 18/Jan/17 ]

Fixed in 2.10

Generated at Sat Feb 10 02:20:57 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.