Re: Can I use ionice?

2010-07-29 Thread Nikanth Karthikesan
On Thursday 29 July 2010 13:30:13 mukai wrote: > Hi > > Can I use ionice on btrfs? > Yes, you can. I/O priorities are honoured by the I/O scheduler, independant of the file-system. And only cfq supports I/O priorities. Thanks Nikanth > Thanks > > -- > To unsubscribe from this list: send the

[PATCH btrfs-unstable#master] Prevent creation of files larger than RLIMIT_FSIZE using fallocate

2010-06-16 Thread Nikanth Karthikesan
that. Signed-off-by: Nikanth Karthikesan Cc: Amit K. Arora --- diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index f08427c..7870f4f 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -6842,6 +6842,11 @@ static long btrfs_fallocate(struct inode *inode, int mode

Re: [PATCH][RFC] Complex filesystem operations: split and join

2010-06-15 Thread Nikanth Karthikesan
Hi OGAWA Hirofumi Thanks a lot for looking at this and reply. On Sunday 13 June 2010 17:12:57 OGAWA Hirofumi wrote: > Nikanth Karthikesan writes: > > I had a need to split a file into smaller files on a thumb drive with no > > free space on it or anywhere else in the system. When

[PATCH][RFC] Complex filesystem operations: split and join

2010-06-09 Thread Nikanth Karthikesan
file modifies any of those blocks, we copy blocks. i.e., COW. Thanks Nikanth p.s: Strangely fibrils and syslets came to my mind, when thinking along these lines. But, I guess fibrils or syslets are not really related to this. From: Nikanth Karthikesan Subject: vfs and vfat: add filesystem opera

[PATCH] btrfs: Prevent creation of files larger than RLIMIT_FSIZE using fallocate

2010-05-03 Thread Nikanth Karthikesan
Prevent creation of files larger than RLIMIT_FSIZE using fallocate. Currently using posix_fallocate one can bypass an RLIMIT_FSIZE limit and create a file larger than the limit. Add a check for that. Signed-off-by: Nikanth Karthikesan --- diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c

[PATCH 2/6] Handle possible bio_alloc failure in btrfs

2009-04-14 Thread Nikanth Karthikesan
Handle possible bio_alloc failure in btrfs. Signed-off-by: Nikanth Karthikesan --- Index: linux-2.6/fs/btrfs/inode.c === --- linux-2.6.orig/fs/btrfs/inode.c +++ linux-2.6/fs/btrfs/inode.c @@ -1714,6 +1714,11 @@ static int