From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752533Ab2IYC5z (ORCPT ); Mon, 24 Sep 2012 22:57:55 -0400 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:32784 "EHLO e23smtp01.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752496Ab2IYC5w (ORCPT ); Mon, 24 Sep 2012 22:57:52 -0400 Message-ID: <50611CCC.1090706@linux.vnet.ibm.com> Date: Tue, 25 Sep 2012 08:24:04 +0530 From: Raghavendra K T Organization: IBM User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: David Rientjes CC: Konrad Rzeszutek Wilk , Linus Torvalds , Greg Kroah-Hartman , Konrad Rzeszutek Wilk , Dave Jones , Linux Kernel , Srivatsa Vaddagiri , Suzuki Poulose Subject: Re: [patch for-3.6] fs, debugfs: fix race in u32_array_read and allocate array at open References: <20120918192338.GA25845@phenom.dumpdata.com> <20120918203713.GB19300@phenom.dumpdata.com> <20120919191652.GA14631@phenom.dumpdata.com> <505A7F75.8000405@linux.vnet.ibm.com> <20120920211814.GB27312@konrad-lan.dumpdata.com> <505C3FEB.7030606@linux.vnet.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-cbid: 12092502-1618-0000-0000-000002897572 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/25/2012 03:56 AM, David Rientjes wrote: > On Fri, 21 Sep 2012, Raghavendra K T wrote: > >> I think you meant we can read data only once. second time onwards we don't see >> any data. (except when fd is forked by child/ races in >> threads). >> > > You can read(2) as many times as you want after it's opened and will get > persistent data. > > Okay, Sorry for the noise.