[RFC 08/11] vfs: enable hot data tracking

2012-09-11 Thread zwu . kernel
, lru)-index) PAGE_CACHE_SHIFT; + hot_rb_update_freqs(mapping-host, start, + (u64)nr_pages * PAGE_CACHE_SIZE, 0); + } + return ret; } -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[RFC 03/11] vfs: introduce 2 rb tree items - inode and range

2012-09-11 Thread zwu . kernel
linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC 09/11] vfs: fork one private kthread to update temperature info

2012-09-11 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Fork and run one kernel kthread to calculate that temperature based on some metrics kept in custom frequency data structs, and store the info in the hash table. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- fs/hot_hash.c | 316

[RFC 10/11] vfs: add 3 new ioctl interfaces

2012-09-11 Thread zwu . kernel
this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC 11/11] vfs: add debugfs support

2012-09-11 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add a /sys/kernel/debug/hot_track/device_name/ directory for each volume that contains two files. The first, `inode_data', contains the heat information for inodes that have been brought into the hot data map structures. The second, `range_data

[RFC 07/11] vfs: introduce one hash table

2012-09-11 Thread zwu . kernel
heat_inode_hl[HEAT_HASH_SIZE]; + + /* hash map of range temperature */ + struct hot_hash_head heat_range_hl[HEAT_HASH_SIZE]; }; #endif /* _LINUX_HOTTRACK_H */ -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[RFC v1 05/11] vfs: add one new mount option '-o hottrack'

2012-09-17 Thread zwu . kernel
linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC v1 06/11] vfs: add init and exit support

2012-09-17 Thread zwu . kernel
) + hot_track_exit(sb); + dput(root); deactivate_locked_super(sb); out_free_secdata: -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

[RFC v1 08/11] vfs: enable hot data tracking

2012-09-17 Thread zwu . kernel
, lru)-index) PAGE_CACHE_SHIFT; + hot_rb_update_freqs(mapping-host, start, + (u64)nr_pages * PAGE_CACHE_SIZE, 0); + } + return ret; } -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[RFC v1 09/11] vfs: fork one private kthread to update temperature info

2012-09-17 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Fork and run one kernel kthread to calculate that temperature based on some metrics kept in custom frequency data structs, and store the info in the hash table. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- fs/hot_hash.c | 302

[RFC v1 10/11] vfs: add 3 new ioctl interfaces

2012-09-17 Thread zwu . kernel
this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC v1 11/11] vfs: add debugfs support

2012-09-17 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add a /sys/kernel/debug/hot_track/device_name/ directory for each volume that contains two files. The first, `inode_data', contains the heat information for inodes that have been brought into the hot data map structures. The second, `range_data

[RFC v1 07/11] vfs: introduce one hash table

2012-09-17 Thread zwu . kernel
*/ + struct hot_hash_head heat_range_hl[HEAT_HASH_SIZE]; }; #endif /* _LINUX_HOTTRACK_H */ -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

[RFC v1 01/11] vfs: introduce one structure hot_info

2012-09-17 Thread zwu . kernel
{ +}; + +#endif /* _LINUX_HOTTRACK_H */ -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC v1 00/11] vfs: hot data tracking

2012-09-17 Thread zwu . kernel
: root@debian-i386:~# mount -o hottrack /dev/sdb /mnt [ 1505.894078] device label test devid 1 transid 29 /dev/sdb [ 1505.952977] btrfs: disk space caching is enabled [ 1506.069678] vfs: turning on hot data tracking root@debian-i386:~# mount -t debugfs none /sys/kernel/debug root@debian-i386:~# ls

[RFC v1 02/11] vfs: introduce one rb tree - hot_inode_tree

2012-09-17 Thread zwu . kernel
-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC v1 03/11] vfs: introduce 2 rb tree items - inode and range

2012-09-17 Thread zwu . kernel
from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC v1 04/11] vfs: add support for updating access frequency

2012-09-17 Thread zwu . kernel
unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Help writing my first USB driver ( no user space code needed )

2008-02-18 Thread kernel . org
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] vfs: simply the code logic

2012-07-21 Thread zwu . kernel
; - } - retval = offset; + retval = file-f_pos = offset; } out: mutex_unlock(bd_inode-i_mutex); -- 1.7.6 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

[PATCH RESEND v1 00/16] vfs: hot data tracking

2012-12-20 Thread zwu . kernel
comments or ideas are appreciated, thanks. NOTE: The patchset can be obtained via my kernel dev git on github: git://github.com/wuzhy/kernel.git hot_tracking If you're interested, you can also review them via https://github.com/wuzhy/kernel/commits/hot_tracking For more info, please check

[PATCH RESEND v1 01/16] vfs: introduce some data structures

2012-12-20 Thread zwu . kernel
in bytes */ +}; + +struct hot_info { + struct hot_rb_tree hot_inode_tree; + spinlock_t lock; /*protect inode tree */ +}; + +extern void __init hot_cache_init(void); + +#endif /* _LINUX_HOTTRACK_H */ -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH RESEND v1 05/16] vfs: add hooks to enable hot tracking

2012-12-20 Thread zwu . kernel
the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH RESEND v1 02/16] vfs: add init and cleanup functions

2012-12-20 Thread zwu . kernel
(struct hot_inode_item *he); #endif /* _LINUX_HOTTRACK_H */ -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

[PATCH RESEND v1 03/16] vfs: add I/O frequency update function

2012-12-20 Thread zwu . kernel
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH RESEND v1 11/16] vfs: register one shrinker

2012-12-20 Thread zwu . kernel
-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH RESEND v1 15/16] btrfs: add hot tracking support

2012-12-20 Thread zwu . kernel
, PANIC_ON_FATAL_ERROR)) seq_puts(seq, ,fatal_errors=panic); + if (btrfs_test_opt(root, HOT_TRACK)) + seq_puts(seq, ,hot_track); return 0; } -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH RESEND v1 12/16] vfs: add one ioctl interface

2012-12-20 Thread zwu . kernel
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH RESEND v1 07/16] vfs: add map info update function

2012-12-20 Thread zwu . kernel
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH RESEND v1 06/16] vfs: add temp calculation function

2012-12-20 Thread zwu . kernel
this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH RESEND v1 16/16] vfs: add documentation

2012-12-20 Thread zwu . kernel
+[ 1505.952977] btrfs: disk space caching is enabled +[ 1506.069678] vfs: turning on hot data tracking + +2.) Mount debugfs at first: + +$ mount -t debugfs none /sys/kernel/debug +$ ls -l /sys/kernel/debug/hot_track/ +total 0 +drwxr-xr-x 2 root root 0 Aug 8 04:40 sdb +$ ls -l /sys/kernel/debug/hot_track/sdb

[PATCH RESEND v1 14/16] proc: add two hot_track proc files

2012-12-20 Thread zwu . kernel
+--- fs/hot_tracking.h|9 - include/linux/hot_tracking.h |7 +++ kernel/sysctl.c | 14 ++ 4 files changed, 30 insertions(+), 12 deletions(-) diff --git a/fs/hot_tracking.c b/fs/hot_tracking.c index 94fe029..74d01da 100644 --- a/fs

[PATCH RESEND v1 13/16] vfs: add debugfs support

2012-12-20 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add a /sys/kernel/debug/hot_track/device_name/ directory for each volume that contains two files. The first, `inode_stats', contains the heat information for inodes that have been brought into the hot data map structures. The second, `range_stats

[PATCH RESEND v1 09/16] vfs: add one work queue

2012-12-20 Thread zwu . kernel
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH RESEND v1 10/16] vfs: add FS hot type support

2012-12-20 Thread zwu . kernel
workqueue_struct *update_wq; struct delayed_work update_work; + struct hot_type *hot_type; }; extern void __init hot_cache_init(void); -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH RESEND v1 08/16] vfs: add aging function

2012-12-20 Thread zwu . kernel
heat unit = 2^X accesses */ #define NRR_MULTIPLIER_POWER 20 /* NRR - number of reads since mount */ #define NRR_COEFF_POWER 0 -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

[PATCH RESEND v1 04/16] vfs: add two map arrays

2012-12-20 Thread zwu . kernel
); -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] ip: add the type 'vxlan' in the output of ip link help

2012-12-15 Thread zwu . kernel
, bridge | ipoib | ip6tnl | ipip | sit }\n); + fprintf(stderr, bridge | ipoib | ip6tnl | ipip | sit | vxlan }\n); } exit(-1); } -- 1.7.2.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[PATCH v1 resend hot_track 00/16] vfs: hot data tracking

2012-11-16 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com HI, guys, Any comments or ideas are appreciated, thanks. NOTE: The patchset can be obtained via my kernel dev git on github: git://github.com/wuzhy/kernel.git hot_tracking If you're interested, you can also review them via https://github.com

[PATCH v1 hot_track 02/16] vfs: add init and cleanup functions

2012-11-16 Thread zwu . kernel
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v1 hot_track 03/16] vfs: add I/O frequency update function

2012-11-16 Thread zwu . kernel
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v1 hot_track 05/16] vfs: add hooks to enable hot tracking

2012-11-16 Thread zwu . kernel
the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v1 hot_track 06/16] vfs: add temp calculation function

2012-11-16 Thread zwu . kernel
this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v1 hot_track 09/16] vfs: add one work queue

2012-11-16 Thread zwu . kernel
update_work; }; extern void __init hot_cache_init(void); -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

[PATCH v1 hot_track 10/16] vfs: add FS hot type support

2012-11-16 Thread zwu . kernel
workqueue_struct *update_wq; struct delayed_work update_work; + struct hot_type *hot_type; }; extern void __init hot_cache_init(void); -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH v1 hot_track 12/16] vfs: add one ioctl interface

2012-11-16 Thread zwu . kernel
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v1 hot_track 15/16] btrfs: add hot tracking support

2012-11-16 Thread zwu . kernel
, PANIC_ON_FATAL_ERROR)) seq_puts(seq, ,fatal_errors=panic); + if (btrfs_test_opt(root, HOT_TRACK)) + seq_puts(seq, ,hot_track); return 0; } -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH v1 hot_track 14/16] proc: add two hot_track proc files

2012-11-16 Thread zwu . kernel
+--- fs/hot_tracking.h|9 - include/linux/hot_tracking.h |7 +++ kernel/sysctl.c | 14 ++ 4 files changed, 30 insertions(+), 12 deletions(-) diff --git a/fs/hot_tracking.c b/fs/hot_tracking.c index a98bfe6..69a6d33 100644 --- a/fs

[PATCH v1 hot_track 16/16] vfs: add documentation

2012-11-16 Thread zwu . kernel
+[ 1505.952977] btrfs: disk space caching is enabled +[ 1506.069678] vfs: turning on hot data tracking + +2.) Mount debugfs at first: + +$ mount -t debugfs none /sys/kernel/debug +$ ls -l /sys/kernel/debug/hot_track/ +total 0 +drwxr-xr-x 2 root root 0 Aug 8 04:40 sdb +$ ls -l /sys/kernel/debug/hot_track/sdb

[PATCH v1 hot_track 13/16] vfs: add debugfs support

2012-11-16 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add a /sys/kernel/debug/hot_track/device_name/ directory for each volume that contains two files. The first, `inode_stats', contains the heat information for inodes that have been brought into the hot data map structures. The second, `range_stats

[PATCH v1 hot_track 11/16] vfs: register one shrinker

2012-11-16 Thread zwu . kernel
update_work; struct hot_type *hot_type; + struct shrinker hot_shrink; }; extern void __init hot_cache_init(void); -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

[PATCH v1 hot_track 01/16] vfs: introduce some data structures

2012-11-16 Thread zwu . kernel
unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v1 hot_track 04/16] vfs: add two map arrays

2012-11-16 Thread zwu . kernel
heat_inode_map[HEAT_MAP_SIZE]; + /* map of range temperature */ + struct hot_map_head heat_range_map[HEAT_MAP_SIZE]; + unsigned int hot_map_nr; }; extern void __init hot_cache_init(void); -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH v1 hot_track 08/16] vfs: add aging function

2012-11-16 Thread zwu . kernel
heat unit = 2^X accesses */ #define NRR_MULTIPLIER_POWER 20 /* NRR - number of reads since mount */ #define NRR_COEFF_POWER 0 -- 1.7.6.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

[PATCH v1 hot_track 07/16] vfs: add map info update function

2012-11-16 Thread zwu . kernel
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: VIA C7 / VIA PC-1 (PC2500) anyone?

2007-06-12 Thread Linux-kernel
which inhibits this problem. For example, it 99% reliable segfaults on compiling aic79xx_core.c file in kernel, while all the rest (in my configuration anyway) compiles, at least after second attempt). It's definitely NOT memory issue - I tried several different memory modules

tcp/ip stack question

2007-06-07 Thread kernel coder
and call dev_queue_xmit fucntion,so that it transmitted through second interface card.Is mine approach correct? shahzad - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

system call implementation for x86_64

2007-05-19 Thread kernel coder
(buffer), ); return ret; } When i call this ,nothing gets printed in file /var/log/messages.Am i missing something ? Actually i wana pass a pointer to kernel from user space.Later on data will be copied to that memory location .i am thinking of using copy_to_user for copying data.Buffer passed

AMD dual core opetron optimization

2007-04-30 Thread kernel coder
hi, I'm doing trying to write some optimized code for AMD dual core opetron processor.But things are getting no where.I've installed Fedora 5 with 2.6 series Linux kernel and 4 series GCC Following are few lines of code which are consuming close to 100 cycles.Yes this is not the forum

bechmarking kernel code

2007-05-03 Thread kernel coder
hi, I'm profiling some part of kernel code.Mine profiling mechanism is based on rdtsc instruction. Please tell me if i'm profiling correctly.I'm teting linux kernel 2.6.15 and mine system is P4. function(){ unsigned long long c1,c2,c3,c4,c5; before=readtsc

[PATCH] xfs: introduce object readahead to log recovery

2013-07-25 Thread zwu . kernel
, - buffer_list, item); + buffer_list, item, next_item); break; default: ASSERT(0); -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH] xfs: fix an assertion failure

2013-07-25 Thread zwu . kernel
+1000 xfs: Introduce an ordered buffer item [ 500.464036] XFS: Assertion failed: !(bip-bli_item.li_flags XFS_LI_IN_AIL), file: fs/xfs/xfs_buf_item.c, line: 942 [ 500.465602] [ cut here ] [ 500.466258] kernel BUG at fs/xfs/xfs_message.c:108! [ 500.466440] invalid

[PATCH V2] x86/PCI: MMCONFIG: cleanup and add address warning to pci_mmconfig_insert

2013-07-27 Thread ethan . kernel
unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-07-27 Thread ethan . kernel
kernel a few minutes, execute $time ./pipe-test-1m collect data output by time like: real0m9.326s user0m0.352s sys 0m5.640s 3.after the test case finished a few seconds, redo the same one. d. Test result data Test kernel without patch 968320b hrtimer: Fix extra wakeups from

[PATCH] rbtree: Add some necessary condition checks

2013-08-23 Thread zwu . kernel
the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] rbtree: Add some necessary condition checks

2013-08-23 Thread zwu . kernel
, RB_RED); augment_rotate(parent, sibling); -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[PATCH] rbtree: Add some necessary condition checks

2013-08-23 Thread zwu . kernel
, RB_RED); augment_rotate(parent, sibling); -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: bcache: Fix a writeback performance regression

2013-08-27 Thread kernel neophyte
Hi Kent, I am still seeing deadlock: [ 930.169234] bcache: bch_cached_dev_attach() Caching sda3 as bcache0 on set 06496904-10ca-489a-ae75-68c6a07d3db1 [ 2522.956188] INFO: task bcache_writebac:2058 blocked for more than 120 seconds. [ 2522.956199] echo 0 /proc/sys/kernel/hung_task_timeout_secs

Re: bcache: Fix a writeback performance regression

2013-08-28 Thread kernel neophyte
On Tue, Aug 27, 2013 at 11:05 PM, Kent Overstreet k...@daterainc.com wrote: On Tue, Aug 27, 2013 at 08:37:54PM -0700, kernel neophyte wrote: Hi Kent, I am still seeing deadlock: Seeing blk_throtl_bio (what asshole misspells words in their function names, so when you go to grep for them you

Re: bcache: Fix a writeback performance regression

2013-08-28 Thread kernel neophyte
On Wed, Aug 28, 2013 at 11:38 AM, Stefan Priebe - Profihost AG s.pri...@profihost.ag wrote: I don't had one for a few days. Which kernel so you use? 3.10 kernel with all of kent's stable patches and perf patches.. and all defaults except for: echo writeback /sys/block/bcache0/bcache

[PATCH] scsi: fix the build warning

2013-08-21 Thread zwu . kernel
= -1; switch (scsi_debug_guard) { case 1: -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

[PATCH v4] xfs: introduce object readahead to log recovery

2013-08-14 Thread zwu . kernel
linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2] xfs: introduce object readahead to log recovery

2013-07-30 Thread zwu . kernel
XLOG_RECOVER_PASS1 1 #defineXLOG_RECOVER_PASS2 2 +#define XLOG_RECOVER_MAX_QDEPTH 100 + #endif /* __XFS_LOG_RECOVER_H__ */ -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH v3] xfs: introduce object readahead to log recovery

2013-07-31 Thread zwu . kernel
); + } + + if (!list_empty(done_list)) + list_splice_init(done_list, trans-r_itemq); + xlog_recover_free_trans(trans); out: -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCH v5 01/10] VFS hot tracking: Define basic data structures and functions

2013-09-16 Thread zwu . kernel
) +{ + if (dir) + return counter bits; + else + return counter bits; +} + +#endif /* __KERNEL__ */ + +#endif /* _LINUX_HOTTRACK_H */ -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[PATCH v5 00/10] VFS hot tracking

2013-09-16 Thread zwu . kernel
use of it to do accurate defragment, and hot relocation support, etc. Now it's time to send out its V5 for external review, and any comments or ideas are appreciated, thanks. NOTE: The patchset can be obtained via my kernel dev git on github: git://github.com/wuzhy/kernel.git hot_tracking

[PATCH v5 06/10] VFS hot tracking: Add a /proc interface to make the interval tunable

2013-09-16 Thread zwu . kernel
/hot_tracking.c| 7 +-- fs/hot_tracking.h| 2 -- include/linux/hot_tracking.h | 3 +++ kernel/sysctl.c | 7 +++ 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/fs/hot_tracking.c b/fs/hot_tracking.c index 953dbc9..8c7e403 100644 --- a/fs

[PATCH v5 09/10] VFS hot tracking, btrfs: Add hot tracking support

2013-09-16 Thread zwu . kernel
-commit_interval); + if (btrfs_test_opt(root, HOT_TRACK)) + seq_puts(seq, ,hot_track); return 0; } -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

[PATCH v5 07/10] VFS hot tracking: Add a /proc interface to control memory usage

2013-09-16 Thread zwu . kernel
...@linux.vnet.ibm.com --- fs/hot_tracking.c| 31 +++ fs/hot_tracking.h| 23 +++ include/linux/hot_tracking.h | 3 +++ kernel/sysctl.c | 7 +++ 4 files changed, 64 insertions(+) diff --git a/fs/hot_tracking.c

[PATCH v5 10/10] VFS hot tracking, xfs: Add hot tracking support

2013-09-16 Thread zwu . kernel
); out_free_sb: -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v5 05/10] VFS hot tracking: Add an ioctl to get hot tracking information

2013-09-16 Thread zwu . kernel
*sb); extern void hot_track_exit(struct super_block *sb); -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

[PATCH v5 02/10] VFS hot tracking: Track IO and record heat information

2013-09-16 Thread zwu . kernel
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v5 08/10] VFS hot tracking: Add documentation

2013-09-16 Thread zwu . kernel
: Turning on hot tracking + +2.) Retrieve hot tracking info for some specific file by ioctl(). -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v5 04/10] VFS hot tracking: Add shrinker functionality to curtail memory usage

2013-09-16 Thread zwu . kernel
hot_cache_init(void); -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v5 03/10] VFS hot tracking: Add a workqueue to move items between hot maps

2013-09-16 Thread zwu . kernel
void hot_freqs_update(struct inode *inode, loff_t start, size_t len, int rw); -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[PATCH net-next] fib_trie: remove duplicated rcu lock

2013-10-12 Thread baker . kernel
(); } } -- 1.8.1.2 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2 net-next] fib_trie: remove duplicated rcu lock

2013-10-13 Thread baker . kernel
= res.type; frn-scope = res.scope; } - rcu_read_unlock(); local_bh_enable(); } } -- 1.8.1.2 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

[PATCH v3 net-next] xfrm: Add check to prevent un-complete key manager

2013-11-10 Thread baker . kernel
From: Baker Zhang baker.ker...@gmail.com acquire and compile_policy callbacks are necessary for a key manager. Signed-off-by: Baker Zhang baker.ker...@gmail.com --- Thanks for all reply. V1: For current kernel source, there is no problem. In our vpn product, we need a xfrm_km in kernel module

[BOUNTY] Need a Working Driver Brought Up From 2.6.29 to 2.6.34. Will Pay.

2013-06-09 Thread kernel-dev
addr2line is used to check the address against the kernel file. Also, the driver does not curently use the net_driver_ops API. I have signed the NDA with the OEM, and I think the SRC is OK for GPL. After this issue is solved the project will go on IndieGoGo, and I will take it to the next level

Gumstix Overo Linux 3.10-rc5 overo-defconfig etc.

2013-06-14 Thread kernel-dev
I have been using linux on Gumstix since around 2007. I recently posted a request to help me bring an OEM driver from 2.6.29 to 2.6.34, since that is the kernel of the system I am developing user-space code on. I have gotten 3.x kernels working on Gumstix in the past, but at some point forgot

Gumstix Overo linux-3.10-rc6 Boot

2013-06-15 Thread kernel-dev
linux-3.10-rc6 Boots on Gumstix Overo. Do you want the .config for a defconfig? Thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[QUESTION] LVDS / MIPI

2013-06-16 Thread kernel-dev
I have checked the Kernel Source and the Internet. Not much if any support for LVDS / MIPI. This would be for Device Drivers under Multimedia and Video Capture. Any Discussion? Is the response to this question something to the effect of sure... Start writing a driver any time you want

Re: [QUESTION] LVDS / MIPI

2013-06-16 Thread kernel-dev
On Sun, Jun 16, 2013 at 10:45:38PM +0200, Guennadi Liakhovetski wrote: On Sun, 16 Jun 2013, kernel-...@fireacop.com wrote: I have checked the Kernel Source and the Internet. Not much if any support for LVDS / MIPI. What exactly do you need support for? MIPI CSI (2/3) capture

Re: [PATCH 2/2 v3] silicom: checkpatch: assignments in if conditions

2013-06-26 Thread Lorenz Kernel
the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC PATCH v1 5/5] BTRFS hot reloc: add hot relocation support

2013-05-20 Thread zwu . kernel
(seq, ,hot_track); + if (btrfs_test_opt(root, HOT_MOVE)) + seq_puts(seq, ,hot_move); return 0; } -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

[RFC PATCH v1 1/5] BTRFS hot reloc, vfs: add one list_head field

2013-05-20 Thread zwu . kernel
[] */ + struct list_head reloc_list;/* used in hot relocation*/ }; /* An item representing an inode and its access frequency */ -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[RFC PATCH v1 2/5] BTRFS hot reloc: add one new block group

2013-05-20 Thread zwu . kernel
; } - if (!device-in_fs_metadata || + if (skip || !device-in_fs_metadata || device-is_tgtdev_for_dev_replace) continue; -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[RFC PATCH v1 4/5] BTRFS hot reloc, procfs: add three proc interfaces

2013-05-20 Thread zwu . kernel
...@linux.vnet.ibm.com --- fs/btrfs/hot_relocate.c | 26 +- fs/btrfs/hot_relocate.h | 5 - include/linux/btrfs.h | 4 kernel/sysctl.c | 22 ++ 4 files changed, 43 insertions(+), 14 deletions(-) diff --git a/fs/btrfs/hot_relocate.c b/fs

[RFC PATCH v1 0/5] BTRFS hot relocation support

2013-05-20 Thread zwu . kernel
| 4 + include/linux/hot_tracking.h | 1 + kernel/sysctl.c | 22 ++ 19 files changed, 1130 insertions(+), 69 deletions(-) create mode 100644 fs/btrfs/hot_relocate.c create mode 100644 fs/btrfs/hot_relocate.h -- 1.7.11.7 -- To unsubscribe from this list: send the line

[RFC PATCH v1 3/5] BTRFS hot reloc: add one hot reloc thread

2013-05-20 Thread zwu . kernel
hot_relocate_init(struct btrfs_fs_info *fs_info); +void hot_relocate_exit(struct btrfs_fs_info *fs_info); + +#endif /* __HOT_RELOCATE__ */ -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

<    1   2   3   4   5   6   7   8   9   10   >