linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/4] fat: additions to support fat_fallocate
@ 2014-10-17 11:26 Namjae Jeon
  2014-10-23 15:36 ` OGAWA Hirofumi
  0 siblings, 1 reply; 3+ messages in thread
From: Namjae Jeon @ 2014-10-17 11:26 UTC (permalink / raw)
  To: OGAWA Hirofumi, Andrew Morton; +Cc: linux-fsdevel

This patch set provides support for doing fallocate operation
on FAT filesystem.

v6:
 - Remove usage of i_disksize
 - Align all fallocate code sequence to use i_blocks as 
   this is more or less can be used to denote the on-disksize.
   Also, i_blocks is common in update path of cluster allocation via.
   fat_chain_add() both from normal write path and fallocate() operation 
	  
v5:
 - change all routines to make ->i_disksize aligned by cluster size.
 - merge fat_bmap2() and fat_get_block_bmap(). 

v4:
 - ->i_disksize is aligned by block size in fill_inode.
 - use i_disksize when computing the number of cluster for fallocate.
 - make fat_get_block_bmap to avoid race issue.
 - use __fat_write_inode() with inode_needs_sync() in evict.

v3:
 - fix i_disksize and mmu_private comments(uninit/initialized)
 - remove unneeded condition in fat_bmap.
 - use mmu_private instead of fclus in fat_fallocate.
 - make function mark buffer new for block in fallocated region.
 - use flags for bmap.
 - use mmu_private instead of i_size in direct_IO.
 - use flags and remove i_mutex in bmap.
 - update vfat documentation.

v2:
 - remove a stary unlock(from Dan Carpenter)
 - check ->mmu_private and ->i_disksize to truncate uninitialized data.

Namjae Jeon (4):
  fat: add fat_fallocate operation
  fat: skip cluster allocation on fallocated region
  fat: permit to return phy block number by fibmap in fallocated region
  Documentation/filesystems/vfat.txt: update the limitation for fat
    fallocate

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v6 0/4] fat: additions to support fat_fallocate
  2014-10-17 11:26 [PATCH v6 0/4] fat: additions to support fat_fallocate Namjae Jeon
@ 2014-10-23 15:36 ` OGAWA Hirofumi
  2014-10-23 23:52   ` Namjae Jeon
  0 siblings, 1 reply; 3+ messages in thread
From: OGAWA Hirofumi @ 2014-10-23 15:36 UTC (permalink / raw)
  To: Namjae Jeon; +Cc: Andrew Morton, linux-fsdevel

Namjae Jeon <namjae.jeon@samsung.com> writes:

> This patch set provides support for doing fallocate operation
> on FAT filesystem.

I'm still not reviewing deeply though, basically looks like good to
me. But I'm still not testing this one at all, sorry.

If not tested yet, we would be able to start test, e.g. stress.

Thanks.

> v6:
>  - Remove usage of i_disksize
>  - Align all fallocate code sequence to use i_blocks as 
>    this is more or less can be used to denote the on-disksize.
>    Also, i_blocks is common in update path of cluster allocation via.
>    fat_chain_add() both from normal write path and fallocate() operation 
> 	  
> v5:
>  - change all routines to make ->i_disksize aligned by cluster size.
>  - merge fat_bmap2() and fat_get_block_bmap(). 
>
> v4:
>  - ->i_disksize is aligned by block size in fill_inode.
>  - use i_disksize when computing the number of cluster for fallocate.
>  - make fat_get_block_bmap to avoid race issue.
>  - use __fat_write_inode() with inode_needs_sync() in evict.
>
> v3:
>  - fix i_disksize and mmu_private comments(uninit/initialized)
>  - remove unneeded condition in fat_bmap.
>  - use mmu_private instead of fclus in fat_fallocate.
>  - make function mark buffer new for block in fallocated region.
>  - use flags for bmap.
>  - use mmu_private instead of i_size in direct_IO.
>  - use flags and remove i_mutex in bmap.
>  - update vfat documentation.
>
> v2:
>  - remove a stary unlock(from Dan Carpenter)
>  - check ->mmu_private and ->i_disksize to truncate uninitialized data.
>
> Namjae Jeon (4):
>   fat: add fat_fallocate operation
>   fat: skip cluster allocation on fallocated region
>   fat: permit to return phy block number by fibmap in fallocated region
>   Documentation/filesystems/vfat.txt: update the limitation for fat
>     fallocate

-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH v6 0/4] fat: additions to support fat_fallocate
  2014-10-23 15:36 ` OGAWA Hirofumi
@ 2014-10-23 23:52   ` Namjae Jeon
  0 siblings, 0 replies; 3+ messages in thread
From: Namjae Jeon @ 2014-10-23 23:52 UTC (permalink / raw)
  To: 'OGAWA Hirofumi'; +Cc: 'Andrew Morton', linux-fsdevel

> Namjae Jeon <namjae.jeon@samsung.com> writes:
> 
> > This patch set provides support for doing fallocate operation
> > on FAT filesystem.
> 
> I'm still not reviewing deeply though, basically looks like good to
> me. But I'm still not testing this one at all, sorry.
> 
> If not tested yet, we would be able to start test, e.g. stress.
Hi, OGAWA.
Okay, I will share stress test result(per sector size) using fsx, fsstress, etc.
And will fix the review points of 2/4, 3/4 patch also.

Thanks for review!
> 
> Thanks.
> 
> > v6:
> >  - Remove usage of i_disksize
> >  - Align all fallocate code sequence to use i_blocks as
> >    this is more or less can be used to denote the on-disksize.
> >    Also, i_blocks is common in update path of cluster allocation via.
> >    fat_chain_add() both from normal write path and fallocate() operation
> >
> > v5:
> >  - change all routines to make ->i_disksize aligned by cluster size.
> >  - merge fat_bmap2() and fat_get_block_bmap().
> >
> > v4:
> >  - ->i_disksize is aligned by block size in fill_inode.
> >  - use i_disksize when computing the number of cluster for fallocate.
> >  - make fat_get_block_bmap to avoid race issue.
> >  - use __fat_write_inode() with inode_needs_sync() in evict.
> >
> > v3:
> >  - fix i_disksize and mmu_private comments(uninit/initialized)
> >  - remove unneeded condition in fat_bmap.
> >  - use mmu_private instead of fclus in fat_fallocate.
> >  - make function mark buffer new for block in fallocated region.
> >  - use flags for bmap.
> >  - use mmu_private instead of i_size in direct_IO.
> >  - use flags and remove i_mutex in bmap.
> >  - update vfat documentation.
> >
> > v2:
> >  - remove a stary unlock(from Dan Carpenter)
> >  - check ->mmu_private and ->i_disksize to truncate uninitialized data.
> >
> > Namjae Jeon (4):
> >   fat: add fat_fallocate operation
> >   fat: skip cluster allocation on fallocated region
> >   fat: permit to return phy block number by fibmap in fallocated region
> >   Documentation/filesystems/vfat.txt: update the limitation for fat
> >     fallocate
> 
> --
> OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-23 23:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-17 11:26 [PATCH v6 0/4] fat: additions to support fat_fallocate Namjae Jeon
2014-10-23 15:36 ` OGAWA Hirofumi
2014-10-23 23:52   ` Namjae Jeon

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).