From: Balbir Singh Subject: Re: [PATCH 1/2] [RFC] Add file f_flags to cgroup write_string ops Date: Tue, 27 Oct 2009 09:10:06 +0530 Message-ID: <20091027034006.GD16378@balbir.in.ibm.com> References: <1256570129-13107-1-git-send-email-matthltc@us.ibm.com> <20091027090311.e7b18307.kamezawa.hiroyu@jp.fujitsu.com> Reply-To: balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20091027090311.e7b18307.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: KAMEZAWA Hiroyuki Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Nathan Lynch , Balbir-FOgKQjlUJ6BQetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Paul Menage , Pavel Emelyanov List-Id: containers.vger.kernel.org * KAMEZAWA Hiroyuki [2009-10-27 09:03:11]: > On Mon, 26 Oct 2009 08:15:29 -0700 > Matt Helsley wrote: > > > cgroup subsystems may find the O_APPEND and O_NONBLOCK flags useful > > in determining the way they handle writes. For now only pass these > > flags through the write_string op. > > > > A subsequent patch will make use of the O_NONBLOCK flag in the > > cgroup freezer write_string op. > > > > Signed-off-by: Matt Helsley > > Cc: Nathan Lynch > > Cc: Paul Menage > > Cc: Li Zefan > > > > (Cc'ing mem controller maintainers in case they find this useful..) > > Cc: Balbir Singh > > Cc: Pavel Emelyanov > > Cc: KAMEZAWA Hiroyuki > > Hmm, maybe useful if we decided to add memory.drop_memory or some... > But now, we have no plan to add backup thread(for asynchronous job). > or some trylock ops. > Anyway, no objection from me if you want this. > I see no issues as well, but no use at the moment right away. -- Balbir