Re: [PATCH v2 3/5] throttle: support read-only and write-only

2023-07-03 Thread Alberto Garcia
On Tue 27 Jun 2023 03:24:29 PM +08, zhenwei pi wrote: > Only one direction is necessary in several scenarios: > - a read-only disk > - operations on a device are considered as *write* only. For example, > encrypt/decrypt/sign/verify operations on a cryptodev use a single > *write* timer(read ti

[PATCH v2 3/5] throttle: support read-only and write-only

2023-06-27 Thread zhenwei pi
Only one direction is necessary in several scenarios: - a read-only disk - operations on a device are considered as *write* only. For example, encrypt/decrypt/sign/verify operations on a cryptodev use a single *write* timer(read timer callback is defined, but never invoked). Allow a single dir