linux/fs/ceph
Jeff Layton 4584a768f2 ceph: set pool_ns in new inode layout for async creates
Dan reported that he was unable to write to files that had been
asynchronously created when the client's OSD caps are restricted to a
particular namespace.

The issue is that the layout for the new inode is only partially being
filled. Ensure that we populate the pool_ns_data and pool_ns_len in the
iinfo before calling ceph_fill_inode.

Cc: stable@vger.kernel.org
URL: https://tracker.ceph.com/issues/54013
Fixes: 9a8d03ca2e ("ceph: attempt to do async create when possible")
Reported-by: Dan van der Ster <dan@vanderster.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-01-26 20:17:50 +01:00
..
acl.c
addr.c netfs: Make ops->init_rreq() optional 2022-01-21 21:36:28 +00:00
cache.c ceph: conversion to new fscache API 2022-01-11 22:13:01 +00:00
cache.h ceph: conversion to new fscache API 2022-01-11 22:13:01 +00:00
caps.c ceph: put the requests/sessions when it fails to alloc memory 2022-01-26 20:17:50 +01:00
ceph_frag.c
debugfs.c
dir.c
export.c
file.c ceph: set pool_ns in new inode layout for async creates 2022-01-26 20:17:50 +01:00
inode.c ceph: conversion to new fscache API 2022-01-11 22:13:01 +00:00
io.c
io.h
ioctl.c
ioctl.h
Kconfig ceph: conversion to new fscache API 2022-01-11 22:13:01 +00:00
locks.c One notable change here is that async creates and unlinks introduced 2021-11-13 11:31:07 -08:00
Makefile
mds_client.c ceph: initialize pathlen variable in reconnect_caps_cb 2021-12-01 17:08:26 +01:00
mds_client.h
mdsmap.c
metric.c ceph: drop send metrics debug message 2022-01-13 13:40:06 +01:00
metric.h
quota.c ceph: don't check for quotas on MDS stray dirs 2022-01-13 13:40:07 +01:00
snap.c
strings.c
super.c The highlight is the new mount "device" string syntax implemented 2022-01-20 13:46:20 +02:00
super.h The highlight is the new mount "device" string syntax implemented 2022-01-20 13:46:20 +02:00
util.c
xattr.c