[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0668612e-678c-e434-277b-d393b9933250@huawei.com>
Date: Tue, 10 Dec 2019 14:20:11 +0800
From: Chao Yu <yuchao0@...wei.com>
To: Jaegeuk Kim <jaegeuk@...nel.org>, <linux-kernel@...r.kernel.org>,
<linux-f2fs-devel@...ts.sourceforge.net>
Subject: Re: [f2fs-dev] [PATCH 2/6] f2fs: declare nested quota_sem and remove
unnecessary sems
On 2019/12/10 6:23, Jaegeuk Kim wrote:
> 1.
> f2fs_quota_sync
> -> down_read(&sbi->quota_sem)
> -> dquot_writeback_dquots
> -> f2fs_dquot_commit
> -> down_read(&sbi->quota_sem)
>
> 2.
> f2fs_quota_sync
> -> down_read(&sbi->quota_sem)
> -> f2fs_write_data_pages
> -> f2fs_write_single_data_page
> -> down_write(&F2FS_I(inode)->i_sem)
>
> f2fs_mkdir
> -> f2fs_do_add_link
> -> down_write(&F2FS_I(inode)->i_sem)
> -> f2fs_init_inode_metadata
> -> f2fs_new_node_page
> -> dquot_alloc_inode
> -> f2fs_dquot_mark_dquot_dirty
> -> down_read(&sbi->quota_sem)
>
> Signed-off-by: Jaegeuk Kim <jaegeuk@...nel.org>
Reviewed-by: Chao Yu <yuchao0@...wei.com>
Thanks,
Powered by blists - more mailing lists