All of lore.kernel.org
 help / color / mirror / Atom feed
From: Suparna Bhattacharya <suparna@in.ibm.com>
To: Avantika Mathur LTC <mathur@us.ibm.com>
Cc: linux-ext4@vger.kernel.org, shaggy@us.ibm.com
Subject: Re: Ext4 devel interlock meeting minutes (Nov. 17, 2006)
Date: Tue, 21 Nov 2006 16:37:17 +0530	[thread overview]
Message-ID: <20061121110717.GA9863@in.ibm.com> (raw)
In-Reply-To: <455E30BC.9070705@us.ibm.com>


For this week's call, could we have a discussion on the API for
persistent preallocation ? Options suggested in the past have
included posix_fallocate, fadvise, fcntl/ioctl, ftruncate. 

Regards
Suparna

On Fri, Nov 17, 2006 at 01:59:24PM -0800, Avantika Mathur LTC wrote:
> Sorry they are a little late!  Here are minutes from the interlock call
> on Wednesday.
> 
> Thanks,
> Avantika
> ----
> 
> Ext4 Developer Interlock Call: 11/15/06 Minutes
> 
> Attendees: Dave Kleikamp, Ted Ts'o, Jean-Pierre Dion, Valirie Climent,
> Jean-Noel Cordenner, Mingming Cao, Suparna Bhattacharya, Eric Sandeen,
> Avantika Mathur
> 
> - WIKI: Decided that we need to maintain one Wiki for Ext4. Ted will
> request a new wiki on kernel.org.
> 
> - Shaggy had sent out an Ext4 roadmap after the last call, but need to
> continue to plan when each feature will be stable and when the disk
> format can be freezed. This should be kept up to date on the Wiki.
> 
> - Ted is reviewing extents patches to e2fsprogs. There have been many
> changes to mercurial in the past week.
> 
> - Defrag Schemes: Detailed discussion of the different defrag schemes
> being discussed on the mailing list, and what requirements are needed
> for Ext4.  A summary of this discussion is below:
> 
> 
> DEFRAG DISCUSSION
> =================
> 
> (Ted and Eric, this is what I remembered from the discussion, please
> fill in any gaps or correct any mistakes in the summary.)
> 
> Trying to establish a clear direction for defrag, there has been a lot
> of discussion on the mailing list.
> The issues discussed were:
> 
> -- How the interface to the defrag should be implemented. Current ideas
> are using ioctls, system calls, or implementing as a filesystem.  Using
> ioctls was the method generally favored by Ted and Eric in the discussion.
> 
> -- Whether the implementation should be extent based or block based. Ted
> feels that this should be extent based, using indirect blocks if necessary
> 
> -- Should the block allocation policy be driven by user space or kernel
> space?
> 
> Prefer a user space driven policy, so that files that are accessed
> concurrently during system boot, can be put close together to speed up
> the boot process.  In this design the user space interface can specify
> an inode and logical block sequence to be put in a certain block
> location; if the space is available, the kernel will copy data and inode
> pointers.
> The user space interface will access bitmaps to locate free space.  It
> should also have the interface to specify a certain region to be
> reserved, and that region would be freed on the disk, so user space can
> move other files to that space.
> 
> -- Implementation
> 
> Ted believes the defrag should be implemented by specifying a region
> space for a file on disk, storing file data in page cache and copying
> the data from the page cache to the new physical blocks.  Then changing
> the mappings from the logical blocks to these new physical blocks.
> 
> Eric's approach is to identify the region on disk, generate a secondary
> inode for the file and allocate this space to the secondary inode.  Then
> copy the data from the original file to the new blocks, and replace the
> inode.  All file writes will need to be restricted during this process.
> Ted's concerns with this approach is possible inconsistencies in the
> journal if the system crashes during this process, and also the
> inability to defrag files while they are being written to.
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Suparna Bhattacharya (suparna@in.ibm.com)
Linux Technology Center
IBM Software Lab, India

  reply	other threads:[~2006-11-21 11:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-17 21:59 Ext4 devel interlock meeting minutes (Nov. 17, 2006) Avantika Mathur LTC
2006-11-21 11:07 ` Suparna Bhattacharya [this message]
2006-11-22  0:57   ` Mingming Cao

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=20061121110717.GA9863@in.ibm.com \
    --to=suparna@in.ibm.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=mathur@us.ibm.com \
    --cc=shaggy@us.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.