[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]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux