linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* should we change how the kernel detects whether gssproxy is running?
@ 2013-12-31 12:33 Jeff Layton
  2013-12-31 18:01 ` J. Bruce Fields
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Layton @ 2013-12-31 12:33 UTC (permalink / raw)
  To: bfields, Simo Sorce; +Cc: linux-nfs

I'm a bit concerned with how /proc/net/rpc/use-gss-proxy works...

For one thing, when the kernel first boots any read against that file
hangs. That's going to be extremely problematic for certain tools that
scrape info out of /proc for troubleshooting purposes (e.g. Red Hat's
sosreport tool).

Also, it seems like if gssproxy suddenly dies, then this switch stays
stuck in its position. There is no way switch back after enabling
gssproxy.

All of that seems unnecessarily complicated. Is there some rationale
for it that I'm missing?

Would it instead make more sense to instead just have gssproxy
hold a file open under /proc? If the file is being held open, then
send upcalls to gssproxy. If not then use the legacy code.

That way the upcalls would truly be conditional on whether gssproxy is
running...

-- 
Jeff Layton <jlayton@redhat.com>

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

end of thread, other threads:[~2014-01-02 18:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-31 12:33 should we change how the kernel detects whether gssproxy is running? Jeff Layton
2013-12-31 18:01 ` J. Bruce Fields
2013-12-31 20:52   ` Simo Sorce
2014-01-02 18:52     ` J. Bruce Fields
2013-12-31 22:56   ` NeilBrown
2013-12-31 23:02     ` Jeff Layton
2014-01-02 18:55     ` J. Bruce Fields
2014-01-01 12:21   ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).