+2
−12
+16
−0
Loading
Add a helper to set the seed and check flag based on useful defaults from the profile. Note that this includes a small behavior change, as we now only set the seed if any action is set, which is fine as nothing will look at it otherwise. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Anuj Gupta <anuj20.g@samsung.com> Reviewed-by:
Kanchan Joshi <joshi.k@samsung.com> Reviewed-by:
Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by:
Darrick J. Wong <djwong@kernel.org> Tested-by:
Anuj Gupta <anuj20.g@samsung.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>