Improve the configfs read and write iterators further
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | configfs: Rework the overflow check in fill_write_buffer()fs/ | +3 | 0 replies | |
| 2/4 | configfs: Fix writing at a non-zero offsetfs/ | +6 | 10 replies | |
| 3/4 | kunit: Add support for suite initialization and cleanupinclude/ lib/ | +18 | 2 replies | |
| 4/4 | configfs: Add unit testsfs/ fs/ fs/ | +385 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Brendan Higgins |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | R-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Improve the configfs read and write iterators further
Hi Christoph,
This patch series addresses Linus' feedback on my most recent configfs patch, adds unit tests for configfs and also includes one functional change that I came up with while writing these unit tests. I will leave it to you to decide whether to submit these patches for inclusion in kernel v5.14 or v5.15.
Thanks,
Bart.
Bart Van Assche (4):
configfs: Rework the overflow check in fill_write_buffer()
configfs: Fix writing at a non-zero offset
kunit: Add support for suite initialization and cleanup
configfs: Add unit tests
fs/configfs/Kconfig | 8 + fs/configfs/Makefile | 2 + fs/configfs/configfs-test.c | 369 ++++++++++++++++++++++++++++++++++++ fs/configfs/file.c | 17 +- include/kunit/test.h | 4 + lib/kunit/test.c | 14 ++ 6 files changed, 406 insertions(+), 8 deletions(-) create mode 100644 fs/configfs/configfs-test.c