mbox series

[v4,0/5] 9p: Fix file ID collisions

Message ID cover.1561575449.git.qemu_oss@crudebyte.com (mailing list archive)
Headers show
Series 9p: Fix file ID collisions | expand

Message

Zhijian Li (Fujitsu)" via June 26, 2019, 6:57 p.m. UTC
This is v4 of a proposed patch set for fixing file ID collisions with 9pfs.

v3->v4:

  * Rebased to latest git master head.

  * Splitted Antonios' patch set to its original 4 individual patches.
    (was merged previously as only 1 patch).

  * Addressed discussed issues directly on Antonios' patches
    (was a separate patch before).

  * Added virtfs command line option "remap_inodes": Unless this option
    is not enabled, no inode remapping is performed at all, the user
    just gets an error message when trying to use more than 1 device
    per export.

  * Dropped persistency feature of QIDs beyond reboots.

  * Dropped disputed "vii" feature.

Greg, please check if I am doing anything superfluous in patch 3 regarding
the new command line parameter "remap_inodes".

Daniel, I also have a libvirt patch for this new "remap_inodes" command
line parameter, but I guess I wait for this qemu patch set to get through.

Christian Schoenebeck (5):
  9p: unsigned type for type, version, path
  9p: Treat multiple devices on one export as an error
  9p: Added virtfs option "remap_inodes"
  9p: stat_to_qid: implement slow path
  9p: Use variable length suffixes for inode remapping

 fsdev/9p-marshal.h      |   6 +-
 fsdev/file-op-9p.h      |   1 +
 fsdev/qemu-fsdev-opts.c |   7 +-
 fsdev/qemu-fsdev.c      |   6 +
 hw/9pfs/9p.c            | 448 +++++++++++++++++++++++++++++++++++++++++++++---
 hw/9pfs/9p.h            |  83 +++++++++
 hw/9pfs/trace-events    |  14 +-
 qemu-options.hx         |  17 +-
 vl.c                    |   3 +
 9 files changed, 550 insertions(+), 35 deletions(-)