Re: [f2fs-dev] [PATCH 2/6] f2fs: support goingdown for fs shutdown

2015-01-08 Thread Jaegeuk Kim
On Fri, Jan 09, 2015 at 09:04:12AM +1100, Dave Chinner wrote: > On Thu, Jan 08, 2015 at 01:21:29PM -0800, Jaegeuk Kim wrote: > > On Fri, Jan 09, 2015 at 07:54:16AM +1100, Dave Chinner wrote: > > > On Thu, Jan 08, 2015 at 02:33:17PM -0600, Eric Sandeen wrote: > > > > On 1/8/15 2:18 PM, Jaegeuk Kim w

Re: [f2fs-dev] [PATCH 2/6] f2fs: support goingdown for fs shutdown

2015-01-08 Thread Dave Chinner
On Thu, Jan 08, 2015 at 01:21:29PM -0800, Jaegeuk Kim wrote: > On Fri, Jan 09, 2015 at 07:54:16AM +1100, Dave Chinner wrote: > > On Thu, Jan 08, 2015 at 02:33:17PM -0600, Eric Sandeen wrote: > > > On 1/8/15 2:18 PM, Jaegeuk Kim wrote: > > > > On Thu, Jan 08, 2015 at 01:54:20PM -0600, Eric Sandeen w

Re: [f2fs-dev] [PATCH 2/6] f2fs: support goingdown for fs shutdown

2015-01-08 Thread Jaegeuk Kim
On Fri, Jan 09, 2015 at 07:54:16AM +1100, Dave Chinner wrote: > On Thu, Jan 08, 2015 at 02:33:17PM -0600, Eric Sandeen wrote: > > On 1/8/15 2:18 PM, Jaegeuk Kim wrote: > > > On Thu, Jan 08, 2015 at 01:54:20PM -0600, Eric Sandeen wrote: > > >> On 1/8/15 12:10 PM, Jaegeuk Kim wrote: > > >>> This patc

Re: [f2fs-dev] [PATCH 2/6] f2fs: support goingdown for fs shutdown

2015-01-08 Thread Dave Chinner
On Thu, Jan 08, 2015 at 02:33:17PM -0600, Eric Sandeen wrote: > On 1/8/15 2:18 PM, Jaegeuk Kim wrote: > > On Thu, Jan 08, 2015 at 01:54:20PM -0600, Eric Sandeen wrote: > >> On 1/8/15 12:10 PM, Jaegeuk Kim wrote: > >>> This patch add an ioctl to shutdown f2fs, which stops all the further > >>> bloc

Re: [f2fs-dev] [PATCH 2/6] f2fs: support goingdown for fs shutdown

2015-01-08 Thread Eric Sandeen
On 1/8/15 2:18 PM, Jaegeuk Kim wrote: > On Thu, Jan 08, 2015 at 01:54:20PM -0600, Eric Sandeen wrote: >> On 1/8/15 12:10 PM, Jaegeuk Kim wrote: >>> This patch add an ioctl to shutdown f2fs, which stops all the further block >>> writes after this point. >> >> would it make sense to just re-use the x

Re: [f2fs-dev] [PATCH 2/6] f2fs: support goingdown for fs shutdown

2015-01-08 Thread Jaegeuk Kim
On Thu, Jan 08, 2015 at 01:54:20PM -0600, Eric Sandeen wrote: > On 1/8/15 12:10 PM, Jaegeuk Kim wrote: > > This patch add an ioctl to shutdown f2fs, which stops all the further block > > writes after this point. > > would it make sense to just re-use the xfs ioctl nr, if the semantics are > the sa

Re: [f2fs-dev] [PATCH 2/6] f2fs: support goingdown for fs shutdown

2015-01-08 Thread Eric Sandeen
On 1/8/15 12:10 PM, Jaegeuk Kim wrote: > This patch add an ioctl to shutdown f2fs, which stops all the further block > writes after this point. would it make sense to just re-use the xfs ioctl nr, if the semantics are the same? That way any test using it will "just work" on f2fs... -Eric > Sign

[f2fs-dev] [PATCH 2/6] f2fs: support goingdown for fs shutdown

2015-01-08 Thread Jaegeuk Kim
This patch add an ioctl to shutdown f2fs, which stops all the further block writes after this point. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 1 + fs/f2fs/file.c | 14 ++ 2 files changed, 15 insertions(+) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index ba30218..febad35 10