[LU-13355] adler32 wrapper in libcfs Created: 11/Mar/20  Updated: 06/May/21  Resolved: 15/May/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0
Fix Version/s: Lustre 2.14.0, Lustre 2.12.5

Type: Bug Priority: Minor
Reporter: Sebastien Buisson Assignee: Sebastien Buisson
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Duplicate
Related
is related to LU-14673 panic: crc32-table: crc32 alg self te... Resolved
is related to LU-12475 Lustre file system is causing kernel ... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

libcfs has wrappers in order to be able to use adler32 as any other crypto module. But libcfs should not be considered as the owner of this implementation.



 Comments   
Comment by Gerrit Updater [ 11/Mar/20 ]

Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/37878
Subject: LU-13355 crypto: adler32 wrapper in libcfs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c125678adde7b3834628d800bed5efb1ef6976b1

Comment by Gerrit Updater [ 14/Mar/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37878/
Subject: LU-13355 crypto: adler32 wrapper in libcfs
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c7c83582aeee6f8bc54915cce6d64d3307bf1ff6

Comment by Gerrit Updater [ 10/Apr/20 ]

Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/38204
Subject: LU-13355 crypto: crypto engine wrappers in libcfs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2af1ac528556355fef5ee5f40fd1ce33f766919d

Comment by Gerrit Updater [ 10/Apr/20 ]

Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/38205
Subject: LU-13355 crypto: crypto engine wrappers in libcfs
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: b82584d1d230c227e466480f340631edeeefbfb0

Comment by Gerrit Updater [ 19/Apr/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38205/
Subject: LU-13355 crypto: crypto engine wrappers in libcfs
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 2c92892020567f33bbe59962a4971055786a4d4c

Comment by Jeremy Filizetti [ 15/May/20 ]

While this patch is much simpler and works around the issue, I would argue that it's incorrect.  I can see no use of a hash algorithm in the kernel who implements the functionality but pretends it does not own the algorithm.  Even though these are CRC's using the crypto hash APIs, is there a belief that at some point when Lustre is attempted to be upstreamed this would be accepted?  I can't imagine this being accepted as is, but I'm by no means an expert.

 

Generated at Sat Feb 10 03:00:34 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.