All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
To: Michael Tokarev <mjt@tls.msk.ru>, "M. Mohan Kumar" <mohan@in.ibm.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] 9pfs: unWRITAble dirs with random errors in guest
Date: Mon, 20 May 2013 15:33:49 +0530	[thread overview]
Message-ID: <877giu55oa.fsf@linux.vnet.ibm.com> (raw)
In-Reply-To: <5198FA06.1000802@msgid.tls.msk.ru>

Michael Tokarev <mjt@tls.msk.ru> writes:

> Rehashing an old thread again...
>
> 28.02.2013 21:25, M. Mohan Kumar wrote:
>> Michael Tokarev <mjt@tls.msk.ru> writes:
>> 
>> 
>>> 28.02.2013 17:55, M. Mohan Kumar wrote:
>>>> Michael Tokarev <mjt@tls.msk.ru> writes:
>>>>
>>>> Hi,
>>>>
>>>> Please try mounting with -oversion=9p2000.L
>>>>
>>>> With qemu-1.4.0 and 9p2000.L, I could not recreate this issue. ie not
>>>> getting Unknown error during directory listing.
>>>
>>> Yes, with 9p2000.L it works fine, both reported
>>> issues are gone.
>>>
>>>> I am using Guest kernel 3.8.0-rc5+.
>>>
>>> But do you see my original error, with the default mount version?
>>> (I'm using 3.2 guest kernel if that matters, and it is also 32bits,
>>> which should not matter).
>> Yes, with default mount option, i am getting same error.
>
> So, is there any intention to fix that for the default mount
> options?  Or should the corresponding protocol be just marked
> as broken and qemu to refuse its usage?  I think it is either
> one or another, -- either fix or drop, that is, keeping
> known-broken behavor isn't exactly the right thing.

I am trying to reproduce this. I guess there is some part of config i am
missing

I have export path /tmp/ and is  exported via 

-virtfs local,path=/tmp/,mount_tag=v_tmp,security_model=mapped-file

There is not .virtfs_metadata directory  in /tmp/

in /tmp/ i have test/test2 with

ls -ald test/test2
dr-xr-xr-x 2 kvaneesh kvaneesh 4096 May 20 15:20 test/test2

Now i am mounting the same via 
mount -t 9p -oversion=9p2000.u,ro v_tmp /mnt    

root@qemu-guest:~# ls -al /mnt/test/test2/
total 8
dr-xr-xr-x 2 virtfs virtfs 4096 May 20 15:20 .
drwxr-xr-x 3 virtfs virtfs 4096 May 20 15:00 ..
-r--r--r-- 1 virtfs virtfs    0 May 20 15:20 k

Any idea what i am missing ?

-aneesh

  reply	other threads:[~2013-05-20 10:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <512EF3A0.5010007@msgid.tls.msk.ru>
     [not found] ` <87r4k0zgo1.fsf@in.ibm.com>
     [not found]   ` <512F677E.2060403@msgid.tls.msk.ru>
     [not found]     ` <87obf4z6xs.fsf@in.ibm.com>
2013-05-19 16:12       ` [Qemu-devel] 9pfs: unWRITAble dirs with random errors in guest Michael Tokarev
2013-05-20 10:03         ` Aneesh Kumar K.V [this message]
2013-05-20 17:31           ` Aneesh Kumar K.V

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877giu55oa.fsf@linux.vnet.ibm.com \
    --to=aneesh.kumar@linux.vnet.ibm.com \
    --cc=mjt@tls.msk.ru \
    --cc=mohan@in.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.