Re: [Qemu-devel] [PATCH] Remove O_NOATIME flag from 9pfs open() calls in readonly mode

2012-01-24 Thread M. Mohan Kumar
Acked-by: M. Mohan Kumar On Monday, January 16, 2012 11:41:40 PM Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > When 2c74c2cb4bedddbfa67628fbd5f9273b4e0e9903 added support for > the 'readonly' flag against 9p filesystems, it also made QEMU > add the O_NOATIME flag as a side-effect.

Re: [Qemu-devel] [PATCH] Remove O_NOATIME flag from 9pfs open() calls in readonly mode

2012-01-23 Thread Daniel P. Berrange
Any thoughts on this fix ? Read-only mode is pretty useless without it for non-root users. Daniel On Mon, Jan 16, 2012 at 06:11:40PM +, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > When 2c74c2cb4bedddbfa67628fbd5f9273b4e0e9903 added support for > the 'readonly' flag against 9

[Qemu-devel] [PATCH] Remove O_NOATIME flag from 9pfs open() calls in readonly mode

2012-01-16 Thread Daniel P. Berrange
From: "Daniel P. Berrange" When 2c74c2cb4bedddbfa67628fbd5f9273b4e0e9903 added support for the 'readonly' flag against 9p filesystems, it also made QEMU add the O_NOATIME flag as a side-effect. The O_NOATIME flag, however, may only be set by the file owner, or a user with CAP_FOWNER capability.