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