lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110602234646.GU561@dastard>
Date:	Fri, 3 Jun 2011 09:46:46 +1000
From:	Dave Chinner <david@...morbit.com>
To:	Vivek Goyal <vgoyal@...hat.com>
Cc:	linux-ext4@...r.kernel.org
Subject: Re: Query about DIO/AIO WRITE throttling and ext4 serialization

On Thu, Jun 02, 2011 at 10:17:16AM -0400, Vivek Goyal wrote:
> On Thu, Jun 02, 2011 at 11:22:09AM +1000, Dave Chinner wrote:
> > On Wed, Jun 01, 2011 at 05:50:49PM -0400, Vivek Goyal wrote:
> > > Hi,
> > > 
> > > If I throttle a DIO/AIO WRITE bio at block device in a cgroup, will it
> > > lead to any kind of serialization of ext4 file system. IOW, is there any
> > > filesystem operation which will wait for that DIO/AIO WRITE to finish
> > > before other filesystem can make progress (fsync, journalling etc?)
> > 
> > Truncate?
> > 
> > (XFS explicitly serialises truncate against in flight DIO,
> > regardless of whether ext4 does.)
> > 
> 
> Dave,
> 
> Does this serialization happens against that particular inode on which
> truncate has been called? If yes, then I think I will still be fine
> as in common use case I am not expecting much sharing of inodes across
> cgroups.

Same inode serialisation only.

Cheers,

Dave.
-- 
Dave Chinner
david@...morbit.com
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ