[LU-8187] osc_io has two signed one-bit fields Created: 22/May/16 Updated: 20/Jun/16 Resolved: 20/Jun/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Oleg Drokin | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | easy | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Signed 1-bit fieds make no sense so need to be converted to unsigned: int oi_lockless:1, /** true if this io is counted as active IO */ oi_is_active:1; |
| Comments |
| Comment by parinay v kondekar (Inactive) [ 20/Jun/16 ] |
$ git show f73c9fe598c60558282ec23a124ed41cbfee1558 --pretty=fuller
commit f73c9fe598c60558282ec23a124ed41cbfee1558
Author: Dmitry Eremin <dmitry.eremin@intel.com>
AuthorDate: Tue Mar 29 20:37:02 2016 +0300
Commit: Oleg Drokin <oleg.drokin@intel.com>
CommitDate: Tue Jun 14 03:52:56 2016 +0000
LU-7258 osc: fix signed one bit field
Bit field 'oi_lockless' and 'oi_is_active' has one bit and is signed.
IMO can be closed as dup of |
| Comment by Oleg Drokin [ 20/Jun/16 ] |
|
Dup of |