[LU-15181] wrong LASSERT in osd_declare_write_commit() Created: 31/Oct/21 Updated: 30/Nov/21 Resolved: 30/Nov/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Andrew Perepechko | Assignee: | Andrew Perepechko |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
[13625.206311] UBSAN: Undefined behaviour in /mnt/ssdraid/xyratex/lustre-wc-rel3/lustre/osd-ldiskfs/osd_io.c:1404:2 [13625.206363] shift exponent 4096 is too large for 32-bit type 'int' The following piece of code seems to contain a typo:
LASSERT(extent_bytes >= (1 << osd_sb(osd)->s_blocksize));
|
| Comments |
| Comment by Andrew Perepechko [ 31/Oct/21 ] |
| Comment by Gerrit Updater [ 30/Nov/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45423/ |
| Comment by Peter Jones [ 30/Nov/21 ] |
|
Landed for 2.15 |