Small QOI fixes for transaction_kthread
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | btrfs: Use helpers to convert from seconds to jiffies in transaction_kthreadfs/ | +2 | 3 replies | |
| 2/4 | btrfs: Remove redundant checkfs/ | +1 | 0 replies | |
| 3/4 | btrfs: Record delta directly in transaction_kthreadfs/ | +3 | 0 replies | |
| 4/4 | btrfs: Be smarter when sleeping in transaction_kthreadfs/ | +1 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Small QOI fixes for transaction_kthread
Following 4 patches make transaction_kthread code slitghly more user friendly. Namely, patch 1 convert from open-coded multiplicaiton by HZ to using msecs_to_jiffies helper. Patch 2 relies on the observation that the running transaction is obtained under trans_lock so an extra check can be removed. Patch 3/4 could possibly be squashed into 1 but the net effect is that the code is more intuitive when sleeping in case a lower interval than commit_trans has elapsed.
This has survived full xfstest run.
Nikolay Borisov (4):
btrfs: Use helpers to convert from seconds to jiffies in
transaction_kthread
btrfs: Remove redundant check
btrfs: Record delta directly in transaction_kthread
btrfs: Be smarter when sleeping in transaction_kthread
fs/btrfs/disk-io.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
--
2.17.1