Hi Ted
I happened to be going through the source code for write_cache_pages(),
and I came across a reference to AOP_WRITEPAGE_ACTIVATE. I was curious
what the heck that was, so I did search for it, and found this in
Documentation/filesystems/vfs.txt:
If wbc-sync_mode is
The size of reserved space is stored in space_info. If block groups
of different raid types are linked to separate space_info, changing
allocation profile will corrupt reserved space accounting.
Signed-off-by: Yan Zheng zheng@oracle.com
---
diff -urp 2/fs/btrfs/ctree.h 3/fs/btrfs/ctree.h
---
We already have fs_info-chunk_mutex to avoid concurrent
chunk creation.
Signed-off-by: Yan Zheng zheng@oracle.com
---
diff -urp 2/fs/btrfs/ctree.h 3/fs/btrfs/ctree.h
--- 2/fs/btrfs/ctree.h 2010-04-26 17:24:10.436081649 +0800
+++ 3/fs/btrfs/ctree.h 2010-04-26 17:24:10.441079491 +0800
@@
All code in init_btrfs_i can be moved into btrfs_alloc_inode()
Signed-off-by: Yan Zheng zheng@oracle.com
---
diff -urp 2/fs/btrfs/inode.c 3/fs/btrfs/inode.c
--- 2/fs/btrfs/inode.c 2010-04-26 17:24:41.254078880 +0800
+++ 3/fs/btrfs/inode.c 2010-04-26 17:24:41.270103836 +0800
@@ -3595,40
Reserve metadata space for extent tree, checksum tree and root tree
Signed-off-by: Yan Zheng zheng@oracle.com
---
diff -urp 2/fs/btrfs/ctree.h 3/fs/btrfs/ctree.h
--- 2/fs/btrfs/ctree.h 2010-04-26 17:27:31.644829469 +0800
+++ 3/fs/btrfs/ctree.h 2010-04-26 17:27:31.648830941 +0800
@@ -682,21
Introduce metadata reservation context for delayed allocation
and update various related functions.
This patch also introduces EXTENT_FIRST_DELALLOC control bit for
set/clear_extent_bit. It tells set/clear_bit_hook whether they
are processing the first extent_state with EXTENT_DELALLOC bit
set.
reserve metadata space for handling orphan inodes
Signed-off-by: Yan Zheng zheng@oracle.com
---
diff -urp 2/fs/btrfs/btrfs_inode.h 3/fs/btrfs/btrfs_inode.h
--- 2/fs/btrfs/btrfs_inode.h2010-04-26 17:27:52.113080051 +0800
+++ 3/fs/btrfs/btrfs_inode.h2010-04-26 17:27:52.118079430 +0800
Previous patches make the allocater return -ENOSPC if there is no
unreserved free metadata space. This patch updates tree log code
and various other places to propagate/handle the ENOSPC error.
Signed-off-by: Yan Zheng zheng@oracle.com
---
diff -urp 2/fs/btrfs/disk-io.c 3/fs/btrfs/disk-io.c
Pre-allocate space for data relocation. This can detect ENOPSC
condition caused by fragmentation of free space.
Signed-off-by: Yan Zheng zheng@oracle.com
---
diff -urp 2/fs/btrfs/ctree.h 3/fs/btrfs/ctree.h
--- 2/fs/btrfs/ctree.h 2010-04-26 17:28:20.493839748 +0800
+++ 3/fs/btrfs/ctree.h
On Wednesday 2010-04-21 12:37, Manio wrote:
On 2010-04-21 12:29, Jan Engelhardt wrote:
I'd rather have a real description rather than stuff like that.
Since I am not on debian, old nfs-utils would not happen -
rpcbind-0.1.6+git20080930 and nfs-kernel-server-1.1.3
should be very much recent
On Apr 26, 2010, at 6:18 AM, KOSAK
AOP_WRITEPAGE_ACTIVATE was introduced for ramdisk and tmpfs thing
(and later rd choosed to use another way).
Then, It assume writepage refusing aren't happen on majority pages.
IOW, the VM assume other many pages can writeout although the page can't.
Then,
I am using ubuntu-10.04-rc with kernel compiled from the almost
lastest source , the btrfs-progs is latest too.
You can modify line
fprintf(stderr, ERROR: can't perform the search\n);
to
fprintf(stderr, ERROR: can't perform the search: %s\n, strerror(errno));
to see what happened on
On Mon, Apr 26, 2010 at 10:50:45AM -0400, Theodore Tso wrote:
On Apr 26, 2010, at 6:18 AM, KOSAK
AOP_WRITEPAGE_ACTIVATE was introduced for ramdisk and tmpfs thing
(and later rd choosed to use another way).
Then, It assume writepage refusing aren't happen on majority pages.
IOW, the VM
On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote:
I am using ubuntu-10.04-rc with kernel compiled from the almost
lastest source , the btrfs-progs is latest too.
You can modify line
fprintf(stderr, ERROR: can't perform the search\n);
to
fprintf(stderr, ERROR: can't
On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote:
On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote:
I am using ubuntu-10.04-rc with kernel compiled from the almost
lastest source , the btrfs-progs is latest too.
You can modify line
fprintf(stderr, ERROR:
On Mon, Apr 26, 2010 at 2:10 PM, C Anthony Risinger anth...@extof.me wrote:
On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote:
On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote:
I am using ubuntu-10.04-rc with kernel compiled from the almost
lastest source , the
On Mon, Apr 26, 2010 at 3:51 PM, C Anthony Risinger anth...@extof.me wrote:
On Mon, Apr 26, 2010 at 2:10 PM, C Anthony Risinger anth...@extof.me wrote:
On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote:
On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote:
I am using
Hi Chris, et. al,
I was bored on the long flight from Melbourne to LA (and kept
awake by crying babies) so I thought I'd dip my toe into kernel
programming and thought I'd see if any results from kmalloc()
were being used without being checked for success first.
Turns out there were quite a few
To get additional details, samples and counts for our USA contact data please
email me at this address successto...@gmx.com
we have lots of different lists in many fields and this week is the time to buy
with lowered list prices.
Send email to to ensure no further communication
after
19 matches
Mail list logo