Re: [PATCH] ceph: add compression_hint mount option

From: Alex Markuze

Date: Sun Nov 22 2026 - 12:37:11 EST


Hi Daolong,

If a mount starts with compression_hint=compressible and is later
reconfigured without that option, ceph_init_fs_context() allocates a
zeroed options structure and ceph_reconfigure_fc() unconditionally
copies its alloc_hint_flags into the live mount. The reconfiguration
therefore clears the selected hint, so later writes stop sending it even
though the compression option was not changed.

Could the existing value be preserved when the option is omitted, while
still allowing compression_hint=none to clear it explicitly?

Could you also check that the patch applies cleanly to the latest
ceph-client testing branch?

Thanks,
Alex