All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] libfs,xenfs: replace /proc/xen/xenbus with a symlink
@ 2016-10-28 15:52 David Vrabel
  2016-10-28 15:52 ` [PATCHv4 1/3] libfs: allow simple_fill_super() to add symlinks David Vrabel
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: David Vrabel @ 2016-10-28 15:52 UTC (permalink / raw)
  To: Alexander Viro
  Cc: David Vrabel, linux-fsdevel, linux-kernel, xen-devel,
	Boris Ostrovsky, Juergen Gross

Using /proc/xen/xenbus can cause deadlocks on the atomic file position
mutex since this file should behave like a character device and not a
regular file.  This is easiest to achive by making it a symlink to the
existing /dev/xen/xenbus device.

This requires extending simple_fill_super() to add symlinks as well as
regular files.

David

Changes in v4:
- Switch on file type in simple_fill_super()
- Make xen_xenus_fops and xen_privcmd_fops static
- Rebased on v4.9-rc2.
- Add patch from Seth for namespace support.

Changes in v3:
- Rebased on v4.7-rc5.

Changes in v2:
- Simplified simple_fill_super() change.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH v4 0/3] libfs, xenfs: replace /proc/xen/xenbus with a symlink
@ 2016-10-28 15:52 David Vrabel
  0 siblings, 0 replies; 10+ messages in thread
From: David Vrabel @ 2016-10-28 15:52 UTC (permalink / raw)
  To: Alexander Viro
  Cc: Juergen Gross, linux-kernel, David Vrabel, linux-fsdevel,
	xen-devel, Boris Ostrovsky

Using /proc/xen/xenbus can cause deadlocks on the atomic file position
mutex since this file should behave like a character device and not a
regular file.  This is easiest to achive by making it a symlink to the
existing /dev/xen/xenbus device.

This requires extending simple_fill_super() to add symlinks as well as
regular files.

David

Changes in v4:
- Switch on file type in simple_fill_super()
- Make xen_xenus_fops and xen_privcmd_fops static
- Rebased on v4.9-rc2.
- Add patch from Seth for namespace support.

Changes in v3:
- Rebased on v4.7-rc5.

Changes in v2:
- Simplified simple_fill_super() change.


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

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

end of thread, other threads:[~2016-10-28 16:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 15:52 [PATCH v4 0/3] libfs,xenfs: replace /proc/xen/xenbus with a symlink David Vrabel
2016-10-28 15:52 ` [PATCHv4 1/3] libfs: allow simple_fill_super() to add symlinks David Vrabel
2016-10-28 15:52 ` David Vrabel
2016-10-28 15:52 ` [PATCHv4 2/3] xenfs: replace xenbus and privcmd with symlinks David Vrabel
2016-10-28 15:52 ` David Vrabel
2016-10-28 15:52 ` [PATCHv4 3/3] xenfs: Use proc_create_mount_point() to create /proc/xen David Vrabel
2016-10-28 15:52 ` David Vrabel
2016-10-28 16:22 ` [PATCH v4 0/3] libfs,xenfs: replace /proc/xen/xenbus with a symlink Al Viro
2016-10-28 16:22 ` [PATCH v4 0/3] libfs, xenfs: " Al Viro
  -- strict thread matches above, loose matches on Subject: below --
2016-10-28 15:52 David Vrabel

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.