All of lore.kernel.org
 help / color / mirror / Atom feed
* blocklayout GETDEVICEINFO fix
@ 2014-09-26 14:02 Christoph Hellwig
  2014-09-26 14:02 ` [PATCH] pnfs/blocklayout: serialize GETDEVICEINFO calls Christoph Hellwig
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Hellwig @ 2014-09-26 14:02 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: linux-nfs

The rpc_pipefs pattern used for the GETDEVICEINFO implementation in the
blocklayout driver is fundamentally not thread safe.  Workloads like
dbench manage to trigger concurrent GETDEVICEINFO calls though, so we
need to add a critical section around it.

I also wonder if we should avoid even sending multiple GETDEVICEINFO
a a higher level in the NFS client, as ѕending multiple request just
to cancel out their action before adding them to the cache doesn't
seem very helpful.


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

end of thread, other threads:[~2014-11-05  8:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-26 14:02 blocklayout GETDEVICEINFO fix Christoph Hellwig
2014-09-26 14:02 ` [PATCH] pnfs/blocklayout: serialize GETDEVICEINFO calls Christoph Hellwig
2014-09-26 14:29   ` Trond Myklebust
2014-09-26 15:48     ` Christoph Hellwig
2014-09-26 16:21       ` Trond Myklebust
2014-09-26 16:41         ` Christoph Hellwig
2014-10-24 14:29         ` Christoph Hellwig
2014-11-05  8:30           ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.