| To: | Brian Foster <bfoster@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] xfs: call xfs_idestroy_fork() in xfs_ilock() critical section |
| From: | Waiman Long <waiman.long@xxxxxx> |
| Date: | Wed, 22 Apr 2015 16:28:38 -0400 |
| Cc: | Dave Chinner <david@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20150422191137.GF6688@xxxxxxxxxxxxxxx> |
| References: | <1429724021-7675-1-git-send-email-Waiman.Long@xxxxxx> <20150422191137.GF6688@xxxxxxxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130109 Thunderbird/10.0.12 |
On 04/22/2015 03:11 PM, Brian Foster wrote: On Wed, Apr 22, 2015 at 01:33:41PM -0400, Waiman Long wrote: I am not sure what kind of races are going on. I was running the AIM7 workload for performance comparison purpose. I hit the error when running the disk workload with xfs filesystem. The smaller the ramdisk that I used, the easier it was to reproduce the error. I think I haven't run it for quite a while so I did not notice any problem or I might have just ignored it in some previous runs. I did check some other call sites of xfs_idestroy_fork() and they are under xfs_ilock(). So I suppose it is not safe to call it outside of the critical section. This patch did indeed fix the problem that I saw when running the disk workload. Cheers, Longman |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] xfs: call xfs_idestroy_fork() in xfs_ilock() critical section, Brian Foster |
|---|---|
| Next by Date: | Re: [PATCH] xfs: don't trigger fsync log force based on inode pin count, Dave Chinner |
| Previous by Thread: | Re: [PATCH] xfs: call xfs_idestroy_fork() in xfs_ilock() critical section, Brian Foster |
| Next by Thread: | Re: [PATCH] xfs: call xfs_idestroy_fork() in xfs_ilock() critical section, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |