[LU-10263] tests: sanity-hsm: is make_small_sync really needed? Created: 21/Nov/17  Updated: 05/Aug/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question/Request Priority: Minor
Reporter: CEA Assignee: Quentin Bouget
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

Tests 228 and 405 are the only tests that use the make_small_sync() function in sanity-hsm.

Considering the function internally calls:

dd if=/dev/urandom ... conv=sync

That conv=sync means: "pad every input block with NULs to ibs-size; when used with block or unblock, pad with spaces rather than NULs"

And that /dev/urandom does not return short reads, and does not block.

I believe the usefulness of make_small_sync is questionable.


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