Skip to contentSkip to conversation

fcntl(F_SETLK) returning ENOSYS

Ocfs2-devel Lars Marowsky-Bree 1 participant 1 message Nov 14, 2012 OCFS2

lore
Share & tools
lore
#0 lore raw

Hi all,

tracing a couple of reports here (on a somewhat older version of OCFS2, with a user-space/pacemaker/dlm_controld.pcmk stack) where we see fnctl(F_SETLK) return ENOSYS. This happens after a node has failed/been fenced and recovered. It affects only individual mounts, not the whole system.

The only code path that I can see so far that could lead to ENOSYS being returned here is from within dlm_controld:process_plocks() if disable_plocks == 1. But I can't find the tell tale log message that I think we should see (from store_plocks) if this value was set.

We'll continue investigating, but perhaps this rings a bell for someone and we can shorten the latency ;-) Thanks for any insights.

Regards,
Lars

Signature · 3 lines
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend?rffer, HRB 21284 (AG N?rnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde