Re: [f2fs-dev] [PATCH v2] mkfs/fsck: add host-managed smr feature

2016-06-15 Thread Jaegeuk Kim
Change log from v1: - Fix wrong feature set. >From 70a8fc3df7b72730fd2d40394892688292e8f78e Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Mon, 13 Jun 2016 09:36:38 -0700 Subject: [PATCH] mkfs/fsck: add host-managed smr feature This feature flag will be used by f2fs to detect HMSMR device. S

Re: [f2fs-dev] [PATCH 04/21] fs: Replace CURRENT_TIME with current_fs_time() for inode timestamps

2016-06-15 Thread Deepa Dinamani
On Thu, Jun 9, 2016 at 12:08 PM, Linus Torvalds wrote: > On Wed, Jun 8, 2016 at 10:04 PM, Deepa Dinamani > wrote: >> CURRENT_TIME macro is not appropriate for filesystems as it >> doesn't use the right granularity for filesystem timestamps. >> Use current_fs_time() instead. > > Again - using the

Re: [f2fs-dev] [PATCH 04/21] fs: Replace CURRENT_TIME with current_fs_time() for inode timestamps

2016-06-15 Thread Arnd Bergmann
On Wednesday, June 8, 2016 10:04:48 PM CEST Deepa Dinamani wrote: > > Signed-off-by: Deepa Dinamani > Cc: Steve French > Cc: linux-c...@vger.kernel.org > Cc: samba-techni...@lists.samba.org > Cc: Joern Engel > Cc: Prasad Joshi > Cc: lo...@logfs.org > Cc: Andrew Morton > Cc: Julia Lawall > Cc

Re: [f2fs-dev] [PATCH 04/21] fs: Replace CURRENT_TIME with current_fs_time() for inode timestamps

2016-06-15 Thread Linus Torvalds
On Thu, Jun 9, 2016 at 1:38 PM, Deepa Dinamani wrote: > > 1. There are a few link, rename functions which assign times like this: > > - inode->i_ctime = dir->i_ctime = dir->i_mtime = CURRENT_TIME; > + inode->i_ctime = dir->i_ctime = dir->i_mtime = > current_fs_time(dir->i_sb); So I th

Re: [f2fs-dev] [PATCH 1/2] f2fs: detect host-managed SMR by feature flag

2016-06-15 Thread Jaegeuk Kim
On Wed, Jun 15, 2016 at 04:21:13AM +, Damien Le Moal wrote: > Jaegeuk, > > On 6/15/16 03:45, Jaegeuk Kim wrote: > > If mkfs.f2fs gives a feature flag for host-managed SMR, we can set mode=lfs > > by default. > > > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2fs/f2fs.h | 21