Re: [PATCH] f2fs: Return the errno to the caller to avoid using a wrong page

2016-05-27 Thread Yunlong Song
On 2016/5/26 0:54, Jaegeuk Kim wrote: > Hi Yunlong, > > Do we have a bug report in terms of this? > Hi Kim, I found the old following patch, you have mentioned one reason why "nid != nid_of_node(page)" in that commit message.

Re: [PATCH] f2fs: Return the errno to the caller to avoid using a wrong page

2016-05-27 Thread Yunlong Song
On 2016/5/26 0:54, Jaegeuk Kim wrote: > Hi Yunlong, > > Do we have a bug report in terms of this? > Hi Kim, I found the old following patch, you have mentioned one reason why "nid != nid_of_node(page)" in that commit message.

Re: [PATCH] f2fs: Return the errno to the caller to avoid using a wrong page

2016-05-25 Thread Yunlong Song
Forget this wrong version, I have re-sent a patch v2 version. -- Thanks, Yunlong Song

Re: [PATCH] f2fs: Return the errno to the caller to avoid using a wrong page

2016-05-25 Thread Yunlong Song
Forget this wrong version, I have re-sent a patch v2 version. -- Thanks, Yunlong Song

[PATCH] f2fs: Return the errno to the caller to avoid using a wrong page

2016-05-25 Thread Yunlong Song
Commit aaf9607516ed38825268515ef4d773289a44f429 ("f2fs: check node page contents all the time") pointed out that "sometimes it was reported that its contents was missing", so it checks the page's mapping and contents. When "nid != nid_of_node(page)", ERR_PTR(-EIO) will be returned to the caller.

[PATCH] f2fs: Return the errno to the caller to avoid using a wrong page

2016-05-25 Thread Yunlong Song
Commit aaf9607516ed38825268515ef4d773289a44f429 ("f2fs: check node page contents all the time") pointed out that "sometimes it was reported that its contents was missing", so it checks the page's mapping and contents. When "nid != nid_of_node(page)", ERR_PTR(-EIO) will be returned to the caller.

Re: [PATCH] f2fs: Return the errno to the caller to avoid using a wrong page

2016-05-25 Thread Jaegeuk Kim
Hi Yunlong, Do we have a bug report in terms of this? Thanks, On Wed, May 25, 2016 at 09:01:01PM +0800, Yunlong Song wrote: > Commit aaf9607516ed38825268515ef4d773289a44f429 ("f2fs: check node page > contents all the time") pointed out that "sometimes it was reported that > its contents was

Re: [PATCH] f2fs: Return the errno to the caller to avoid using a wrong page

2016-05-25 Thread Jaegeuk Kim
Hi Yunlong, Do we have a bug report in terms of this? Thanks, On Wed, May 25, 2016 at 09:01:01PM +0800, Yunlong Song wrote: > Commit aaf9607516ed38825268515ef4d773289a44f429 ("f2fs: check node page > contents all the time") pointed out that "sometimes it was reported that > its contents was

[PATCH] f2fs: Return the errno to the caller to avoid using a wrong page

2016-05-25 Thread Yunlong Song
Commit aaf9607516ed38825268515ef4d773289a44f429 ("f2fs: check node page contents all the time") pointed out that "sometimes it was reported that its contents was missing", so it checks the page's mapping and contents. When "nid != nid_of_node(page)", ERR_PTR(-EIO) will be returned to the caller.

[PATCH] f2fs: Return the errno to the caller to avoid using a wrong page

2016-05-25 Thread Yunlong Song
Commit aaf9607516ed38825268515ef4d773289a44f429 ("f2fs: check node page contents all the time") pointed out that "sometimes it was reported that its contents was missing", so it checks the page's mapping and contents. When "nid != nid_of_node(page)", ERR_PTR(-EIO) will be returned to the caller.