[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180110072203epcms1p5590a9b8441e94174b461172222424455@epcms1p5>
Date: Wed, 10 Jan 2018 07:22:03 +0000
From: Daeho Jeong <daeho.jeong@...sung.com>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-f2fs-devel@...ts.sourceforge.net"
<linux-f2fs-devel@...ts.sourceforge.net>
Subject: Re: [PATCH] f2fs: handle newly created page when revoking inmem
pages
Hi Chao,
> Original intention here is to recover status to the timing before
> committing atomic write. As at that timing blkaddr in dnode should be
> cur->old_addr(NEW_ADDR), so we need to change to call:
> f2fs_update_data_blkaddr(&dn, NEW_ADDR);
Ok, I'll change NULL_ADDR to NEW_ADDR.
Thanks,
> Otherwise, metadata will become inconsistent, because blkaddr value is
> NULL_ADDR means that current block is not preallocated, but
> total_valid_block_count has already been updated. Right?
> Thanks,
Powered by blists - more mailing lists