Skip to content

exfat: update percent_in_use, remove runtime integer division

David Timber exfat lkml 1 version Applied

Status from this message: Applied them to #dev.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Changes in v1 from the cover letter

- use mul_u64_u32_div() for 32-bit arch without 64-bit integer division

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2exfat: update percent_in_use field when updating volume flagsfs/exfat/super.c+15 -10 replies
2/2exfat: remove runtime integer divisionfs/exfat/dir.c fs/exfat/exfat_fs.h fs/exfat/namei.c +1 more+7 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] exfat: update percent_in_use, remove runtime integer division

Changes from RFC v0:

- use mul_u64_u32_div() for 32-bit arch without 64-bit integer division

mul_u64_u32_div() isn't so popular API, so I'm not sure it's available on all arch.

I don't have a beefy machine to test my patches for all arch... If you'd like to apply, I suggest waiting for the CI bots to finish testing. I believe all submitted patches that apply to the master branch are tested by the bots. I'll ping when the patches get a pass.

David Timber (2):
exfat: update percent_in_use field when updating volume flags
exfat: remove runtime integer division

 fs/exfat/dir.c      |  3 ++-
 fs/exfat/exfat_fs.h |  1 +
 fs/exfat/namei.c    |  4 ++--
 fs/exfat/super.c    | 20 +++++++++++++++++---
 4 files changed, 22 insertions(+), 6 deletions(-)
Signature · 1 line
2.55.0