RFC ceph: cleanup of hardcoded invalid ID
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ceph: introduce CEPH_INVALID_CACHE_IDXfs/ fs/ fs/ | +15 | 0 replies | |
| 2/2 | ceph: exchange BUG_ON on WARN_ON in ceph_readdir()fs/ fs/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] ceph: cleanup of hardcoded invalid ID
From: Viacheslav Dubeyko <[email protected]>
This patchset introduces CEPH_INVALID_CACHE_IDX instead of hardcoded value. Also, it reworks ceph_readdir() logic by introducing BUG_ON() for debug case and introduces WARN_ON() for release case.
Viacheslav Dubeyko (2):
ceph: introduce CEPH_INVALID_CACHE_IDX
ceph: exchange BUG_ON on WARN_ON in ceph_readdir()
fs/ceph/Kconfig | 13 +++++++++++++ fs/ceph/dir.c | 33 ++++++++++++++++++++++++--------- fs/ceph/file.c | 2 +- fs/ceph/super.h | 8 ++++++++ 4 files changed, 46 insertions(+), 10 deletions(-)
Signature · 1 line
2.48.0