From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK3W0-0007w6-6K for qemu-devel@nongnu.org; Wed, 20 Aug 2014 06:53:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XK3Vs-0003Mq-C7 for qemu-devel@nongnu.org; Wed, 20 Aug 2014 06:53:16 -0400 Received: from e28smtp08.in.ibm.com ([122.248.162.8]:50343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK3Vr-0003K8-FT for qemu-devel@nongnu.org; Wed, 20 Aug 2014 06:53:08 -0400 Received: from /spool/local by e28smtp08.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 20 Aug 2014 16:23:01 +0530 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id 6E918E004C for ; Wed, 20 Aug 2014 16:25:06 +0530 (IST) Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay01.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s7KAqsQ847055046 for ; Wed, 20 Aug 2014 16:22:54 +0530 Received: from d28av05.in.ibm.com (localhost [127.0.0.1]) by d28av05.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s7KAqxJL028974 for ; Wed, 20 Aug 2014 16:22:59 +0530 From: "Aneesh Kumar K.V" In-Reply-To: <53EBBF5F.3070805@msgid.tls.msk.ru> References: <53EBBF5F.3070805@msgid.tls.msk.ru> Date: Wed, 20 Aug 2014 16:22:51 +0530 Message-ID: <87a96zsa9o.fsf@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] qemu 9p mapped-xattr model does not translate d_type in readdir List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: Qemu Development List Michael Tokarev writes: > There's another bugreport filed against debian qemu package, > http://bugs.debian.org/755738 . It talks about security_model=mapped-xattr > case, where file type is stored elsewhere, and all files are turned into > regular files. http://bugs.debian.org/755738#10 is the proposed patch. > Ok the patch looks good, we could also try to get the d_type correct by looking at the xattr mode bits, but i guess that will slow down readdir Can you send a proper patch with signed-off-by to the list. I will pick it from there. -aneesh