linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Jaegeuk Kim <jaegeuk@kernel.org>
To: Andrei Borzenkov <arvidjaar@gmail.com>
Cc: The development of GNU GRUB <grub-devel@gnu.org>,
	linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH v6] F2FS support
Date: Mon, 22 Feb 2016 10:21:49 -0800	[thread overview]
Message-ID: <20160222182149.GC10875@jaegeuk.gateway> (raw)
In-Reply-To: <56CAD406.3030508@gmail.com>

Hi Andrei,

I'll send v7 which addresses your comment.

Thanks,

On Mon, Feb 22, 2016 at 12:25:26PM +0300, Andrei Borzenkov wrote:
> 08.01.2016 22:41, Jaegeuk Kim пишет:
> > Change log from v5:
> >  o fix build warning for ARM, reported by Michael Zimmermann
> > 
> > Thanks to Michael for testing this patch.
> > 
> > -- >8 --
> > From 284fd66662a6d5e07770cc021c8f59b538471c35 Mon Sep 17 00:00:00 2001
> > From: Jaegeuk Kim <jaegeuk@kernel.org>
> > Date: Tue, 17 Nov 2015 12:45:13 -0800
> > Subject: [PATCH] F2FS support
> > 
> > "F2FS (Flash-Friendly File System) is flash-friendly file system which was merged
> > into Linux kernel v3.8 in 2013.
> > 
> > The motive for F2FS was to build a file system that from the start, takes into
> > account the characteristics of NAND flash memory-based storage devices (such as
> > solid-state disks, eMMC, and SD cards).
> > 
> > F2FS was designed on a basis of a log-structured file system approach, which
> > remedies some known issues of the older log structured file systems, such as
> > the snowball effect of wandering trees and high cleaning overhead. In addition,
> > since a NAND-based storage device shows different characteristics according to
> > its internal geometry or flash memory management scheme (such as the Flash
> > Translation Layer or FTL), it supports various parameters not only for
> > configuring on-disk layout, but also for selecting allocation and cleaning
> > algorithm.", quote by https://en.wikipedia.org/wiki/F2FS.
> > 
> > The source codes for F2FS are available from:
> > 
> > http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs.git
> > http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git
> > 
> 
> Sorry for delay. I'm fine with it (with single nitpick, see below);
> Vladimir has final word whether this can be committed.
> ...
> 
> > +static grub_ssize_t
> > +grub_f2fs_read_file (grub_fshelp_node_t node,
> > +		grub_disk_read_hook_t read_hook, void *read_hook_data,
> > +		grub_off_t pos, grub_size_t len, char *buf)
> > +{
> > +  struct grub_f2fs_inode *inode = &node->inode.i;
> > +  grub_off_t filesize = grub_f2fs_file_size (inode);
> > +  char *inline_addr = __inline_addr (inode);
> > +
> > +  if (inode->i_inline & F2FS_INLINE_DATA)
> > +    {
> > +      if (pos > filesize || filesize > MAX_INLINE_DATA)
> 
> GRUB checks that pos < filesize before calling into fs so this is
> redundant. And filesize check is static so can be done in ->open.

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

  reply	other threads:[~2016-02-22 18:21 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24  8:19 [PATCH] F2FS support Jaegeuk Kim
2015-03-28  7:31 ` Andrei Borzenkov
2015-03-28 20:43   ` Jaegeuk Kim
2015-03-28 21:00     ` Andrei Borzenkov
2015-04-03 22:48   ` Jaegeuk Kim
2015-04-03 22:49 ` [PATCH v2] " Jaegeuk Kim
2015-04-29 20:48   ` [f2fs-dev] " Jaegeuk Kim
2015-04-30  3:32     ` Andrei Borzenkov
2015-05-02 17:15   ` Andrei Borzenkov
2015-05-03  6:28     ` Andrei Borzenkov
2015-11-19 21:28   ` [PATCH v3] " Jaegeuk Kim
2015-12-14  8:28     ` Andrei Borzenkov
2015-12-15  0:30       ` Jaegeuk Kim
2015-12-15  0:34       ` [PATCH v4] " Jaegeuk Kim
2015-12-15  8:34         ` Andrei Borzenkov
2015-12-15 18:08           ` Jaegeuk Kim
2015-12-15 18:14         ` [PATCH v5] " Jaegeuk Kim
2016-01-07 19:37           ` [f2fs-dev] " Michael Zimmermann
2016-01-08 19:41           ` [PATCH v6] " Jaegeuk Kim
2016-02-22  9:25             ` Andrei Borzenkov
2016-02-22 18:21               ` Jaegeuk Kim [this message]
2016-02-22 18:25             ` [PATCH v7] " Jaegeuk Kim
2016-03-01 19:52               ` [2.02] Re: [f2fs-dev] " Andrei Borzenkov
2016-03-02 23:20                 ` Michael Zimmermann
2016-03-03 21:35                   ` [2.02] " Jaegeuk Kim
2016-03-03 21:36                 ` [2.02] Re: [f2fs-dev] [PATCH v8] " Jaegeuk Kim
2016-08-04 17:06                   ` [2.02] " Jaegeuk Kim
2016-08-05 10:57                     ` Andrei Borzenkov
2016-08-05 18:07                       ` Jaegeuk Kim
2016-08-05 19:17                         ` [f2fs-dev] " Michael Zimmermann

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=20160222182149.GC10875@jaegeuk.gateway \
    --to=jaegeuk@kernel.org \
    --cc=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    /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).