[LU-11011] checksum type can not be selected permanently Created: 10/May/18 Updated: 31/Aug/21 Resolved: 21/Aug/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Li Xi (Inactive) | Assignee: | Li Xi |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
Some checksum types might not work correctly even though they are available Following is the design of solving the problem: To solve this problem, whenever a valid checksum type is set by "lctl The semantics of interface /proc/fs/lustre/osc/*/checksum_type is changed for |
| Comments |
| Comment by Gerrit Updater [ 10/May/18 ] |
|
Li Xi (lixi@ddn.com) uploaded a new patch: https://review.whamcloud.com/32349 |
| Comment by Li Xi (Inactive) [ 10/May/18 ] |
|
Example before applying patch: [root@server17-el7-vm2 ~]# lctl get_param osc.*.checksum_type ^ checksum change back to crc32c even "lctl conf_param" want to change it to adler.
After patch: [root@server17-el7-vm2 ~]# lctl get_param osc.*.checksum_type
|
| Comment by Andreas Dilger [ 13/Jun/18 ] |
Could you please explain this a bit further? Checksums should not be offered by a server or client if they are not working. If that is the case, it would be better to fix the code not to offer those checksums, rather than forcing users to specify a working checksum manually. |
| Comment by Li Xi [ 20/Aug/18 ] |
|
> Some checksum types might not work correctly even though they are available options and have the best speeds during test. This was not caused by Lustre problem. A user found a problem of the default checksum type which has the best performance. I don't remember the details. I remember the checksum sometimes was calculated wrongly. The root cause might be a bug of the CPU or the kernel. Thus, the user wants to change the checksum type to another one which doesn't have the best performance. And a persistent configuration would be better than changing everytime when restarting the services. |
| Comment by Gerrit Updater [ 21/Aug/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32349/ |
| Comment by Peter Jones [ 21/Aug/19 ] |
|
Landed for 2.13 |