linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Chao Yu <chao2.yu@samsung.com>
To: 'Jaegeuk Kim' <jaegeuk@kernel.org>, 'He YunLei' <heyunlei@huawei.com>
Cc: hebiao6@huawei.com, stuart.li@huawei.com,
	linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [PATCH] back-up raw_super in sbi
Date: Tue, 15 Dec 2015 17:04:40 +0800	[thread overview]
Message-ID: <010301d13717$bcd8df00$368a9d00$@samsung.com> (raw)
In-Reply-To: <20151214172845.GB48918@jaegeuk.local>

Hi all,

> > It looks good to me, but can we releasing grabbed block buffer 'sbi->raw_super_buf'
> > as Chao Yu said.
> 
> If then, don't we need to recover the polluted superblock?

We need, if we change to not grab super block buffer header, instead,
we have to record current super block no that raw_super referred to,
then in f2fs_commit_super we can try to grab block buffer of super block
with stored no.

Could you check the following patches?

Thanks,


------------------------------------------------------------------------------

  reply	other threads:[~2015-12-15  9:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 13:17 [PATCH] back-up raw_super in sbi Yunlei He
2015-12-08 18:19 ` Jaegeuk Kim
2015-12-14  9:56   ` He YunLei
2015-12-14 17:28     ` Jaegeuk Kim
2015-12-15  9:04       ` Chao Yu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-12-09  6:11 Chao Yu
2015-12-09  7:15 ` He YunLei
2015-12-11  7:02   ` Chao Yu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='010301d13717$bcd8df00$368a9d00$@samsung.com' \
    --to=chao2.yu@samsung.com \
    --cc=hebiao6@huawei.com \
    --cc=heyunlei@huawei.com \
    --cc=jaegeuk@kernel.org \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    --cc=stuart.li@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).