[RFC PATCH 0/2] ceph: cleanup of hardcoded invalid ID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Viacheslav Dubeyko <Slava.Dubeyko@xxxxxxx>

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(-)

-- 
2.48.0





[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux