Skip to content

Commit ed7cfef

Browse files
committed
Merge tag 'ceph-for-5.10-rc1' of git://github.com/ceph/ceph-client
Pull ceph updates from Ilya Dryomov: - a patch that removes crush_workspace_mutex (myself). CRUSH computations are no longer serialized and can run in parallel. - a couple new filesystem client metrics for "ceph fs top" command (Xiubo Li) - a fix for a very old messenger bug that affected the filesystem, marked for stable (myself) - assorted fixups and cleanups throughout the codebase from Jeff and others. * tag 'ceph-for-5.10-rc1' of git://github.com/ceph/ceph-client: (27 commits) libceph: clear con->out_msg on Policy::stateful_server faults libceph: format ceph_entity_addr nonces as unsigned libceph: fix ENTITY_NAME format suggestion libceph: move a dout in queue_con_delay() ceph: comment cleanups and clarifications ceph: break up send_cap_msg ceph: drop separate mdsc argument from __send_cap ceph: promote to unsigned long long before shifting ceph: don't SetPageError on readpage errors ceph: mark ceph_fmt_xattr() as printf-like for better type checking ceph: fold ceph_update_writeable_page into ceph_write_begin ceph: fold ceph_sync_writepages into writepage_nounlock ceph: fold ceph_sync_readpages into ceph_readpage ceph: don't call ceph_update_writeable_page from page_mkwrite ceph: break out writeback of incompatible snap context to separate function ceph: add a note explaining session reject error string libceph: switch to the new "osd blocklist add" command libceph, rbd, ceph: "blacklist" -> "blocklist" ceph: have ceph_writepages_start call pagevec_lookup_range_tag ceph: use kill_anon_super helper ...
2 parents c4d6fe7 + 28e1581 commit ed7cfef

26 files changed

Lines changed: 689 additions & 443 deletions

File tree

‎Documentation/filesystems/ceph.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ Mount Options
163163
to the default VFS implementation if this option is used.
164164

165165
recover_session=<no|clean>
166-
Set auto reconnect mode in the case where the client is blacklisted. The
166+
Set auto reconnect mode in the case where the client is blocklisted. The
167167
available modes are "no" and "clean". The default is "no".
168168

169169
* no: never attempt to reconnect when client detects that it has been
170-
blacklisted. Operations will generally fail after being blacklisted.
170+
blocklisted. Operations will generally fail after being blocklisted.
171171

172172
* clean: client reconnects to the ceph cluster automatically when it
173-
detects that it has been blacklisted. During reconnect, client drops
173+
detects that it has been blocklisted. During reconnect, client drops
174174
dirty data/metadata, invalidates page caches and writable file handles.
175175
After reconnect, file locks become stale because the MDS loses track
176176
of them. If an inode contains any stale file locks, read/write on the

‎drivers/block/rbd.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4010,10 +4010,10 @@ static int rbd_try_lock(struct rbd_device *rbd_dev)
40104010
rbd_warn(rbd_dev, "breaking header lock owned by %s%llu",
40114011
ENTITY_NAME(lockers[0].id.name));
40124012

4013-
ret = ceph_monc_blacklist_add(&client->monc,
4013+
ret = ceph_monc_blocklist_add(&client->monc,
40144014
&lockers[0].info.addr);
40154015
if (ret) {
4016-
rbd_warn(rbd_dev, "blacklist of %s%llu failed: %d",
4016+
rbd_warn(rbd_dev, "blocklist of %s%llu failed: %d",
40174017
ENTITY_NAME(lockers[0].id.name), ret);
40184018
goto out;
40194019
}
@@ -4077,7 +4077,7 @@ static int rbd_try_acquire_lock(struct rbd_device *rbd_dev)
40774077
ret = rbd_try_lock(rbd_dev);
40784078
if (ret < 0) {
40794079
rbd_warn(rbd_dev, "failed to lock header: %d", ret);
4080-
if (ret == -EBLACKLISTED)
4080+
if (ret == -EBLOCKLISTED)
40814081
goto out;
40824082

40834083
ret = 1; /* request lock anyway */
@@ -4613,7 +4613,7 @@ static void rbd_reregister_watch(struct work_struct *work)
46134613
ret = __rbd_register_watch(rbd_dev);
46144614
if (ret) {
46154615
rbd_warn(rbd_dev, "failed to reregister watch: %d", ret);
4616-
if (ret != -EBLACKLISTED && ret != -ENOENT) {
4616+
if (ret != -EBLOCKLISTED && ret != -ENOENT) {
46174617
queue_delayed_work(rbd_dev->task_wq,
46184618
&rbd_dev->watch_dwork,
46194619
RBD_RETRY_DELAY);

0 commit comments

Comments
 (0)