All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] ceph: encrypt the snapshot directories
@ 2022-03-02 12:13 xiubli
  2022-03-02 12:13 ` [PATCH v3 1/6] ceph: fail the request when failing to decode dentry names xiubli
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: xiubli @ 2022-03-02 12:13 UTC (permalink / raw)
  To: jlayton; +Cc: idryomov, vshankar, ceph-devel, Xiubo Li

From: Xiubo Li <xiubli@redhat.com>

This patch series is base on the 'wip-fscrypt' branch in ceph-client.

V3:
- Add more detail comments in the commit comments and code comments.
- Fix some bugs.
- Improved the patches.
- Remove the already merged patch.

V2:
- Fix several bugs, such as for the long snap name encrypt/dencrypt
- Skip double dencypting dentry names for readdir

======

NOTE: This patch series won't fix the long snap shot issue as Luis
is working on that.

Xiubo Li (6):
  ceph: fail the request when failing to decode dentry names
  ceph: do not dencrypt the dentry name twice for readdir
  ceph: add ceph_get_snap_parent_inode() support
  ceph: use the parent inode of '.snap' to dencrypt the names for
    readdir
  ceph: use the parent inode of '.snap' to encrypt name to build path
  ceph: try to encrypt/decrypt long snap name

 fs/ceph/crypto.c     |  95 ++++++++++++++++++++++++++++++++---
 fs/ceph/crypto.h     |  10 +++-
 fs/ceph/dir.c        |  98 ++++++++++++++++++++++--------------
 fs/ceph/inode.c      | 115 ++++++++++++++++++++++++++++++++++++++-----
 fs/ceph/mds_client.c |  57 +++++++++++++--------
 fs/ceph/mds_client.h |   3 ++
 fs/ceph/snap.c       |  24 +++++++++
 fs/ceph/super.h      |   2 +
 8 files changed, 327 insertions(+), 77 deletions(-)

-- 
2.27.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-03-03  9:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-02 12:13 [PATCH v3 0/6] ceph: encrypt the snapshot directories xiubli
2022-03-02 12:13 ` [PATCH v3 1/6] ceph: fail the request when failing to decode dentry names xiubli
2022-03-02 12:13 ` [PATCH v3 2/6] ceph: do not dencrypt the dentry name twice for readdir xiubli
2022-03-02 12:13 ` [PATCH v3 3/6] ceph: add ceph_get_snap_parent_inode() support xiubli
2022-03-02 12:13 ` [PATCH v3 4/6] ceph: use the parent inode of '.snap' to dencrypt the names for readdir xiubli
2022-03-02 12:13 ` [PATCH v3 5/6] ceph: use the parent inode of '.snap' to encrypt name to build path xiubli
2022-03-02 12:13 ` [PATCH v3 6/6] ceph: try to encrypt/decrypt long snap name xiubli
2022-03-02 15:40 ` [PATCH v3 0/6] ceph: encrypt the snapshot directories Luís Henriques
2022-03-02 16:58   ` Luís Henriques
2022-03-03  2:49   ` Xiubo Li
2022-03-03  9:50     ` Luís Henriques
2022-03-03  2:57   ` Xiubo Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.