From: OGAWA Hirofumi Subject: Re: [PATCH v5 7/8] fat (exportfs): rebuild directory-inode if fat_dget() fails Date: Sat, 26 Jan 2013 13:22:02 +0900 Message-ID: <8738xoshed.fsf@devron.myhome.or.jp> References: <1353504311-6020-1-git-send-email-linkinjeon@gmail.com> <878v9f5ugn.fsf@devron.myhome.or.jp> <87k3sy17vk.fsf@devron.myhome.or.jp> <87txs0x45r.fsf@devron.myhome.or.jp> <87623ydnvq.fsf@devron.myhome.or.jp> <877gobn7fy.fsf@devron.myhome.or.jp> <87obhnlmkt.fsf@devron.myhome.or.jp> <87k3sblmj2.fsf@devron.myhome.or.jp> <87r4lgxgee.fsf@devron.myhome.or.jp> Mime-Version: 1.0 Content-Type: text/plain Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Namjae Jeon , Ravishankar N , Amit Sahrawat To: Namjae Jeon Return-path: In-Reply-To: (Namjae Jeon's message of "Tue, 22 Jan 2013 19:31:45 +0900") Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Namjae Jeon writes: > 2013/1/20, OGAWA Hirofumi : >> Namjae Jeon writes: >> >>> We rewrite patch as your suggestion using dummy inode. Would please >>> you review below patch code ? >> >> Looks like good as initial. Clean and shorter. >> >> Next is, we have to think about race. I.e. if real inode was made, what >> happens? Is there no race? > Hi OGAWA. > > Although checking several routines to check hang case you said, I > didn't find anything. > And There is no any race on test result also. Am I missing something ? > Let me know your opinion. Hm, it's read-only. So, there may not be race for now, I'm sure there is race on write path though. Thanks. -- OGAWA Hirofumi