Displaying 10 results from an estimated 10 matches for "log_stats".
2011 Jun 21
13
VM disk I/O limit patch
...checking for work */
- if (do_block_io_op(blkif))
+ ret = do_block_io_op(blkif);
+ if (ret)
blkif->waiting_reqs = 1;
unplug_queue(blkif);
+ if(blkif->reqmin){
+ if(2 == ret && (blkif->reqtime > jiffies)){
+ jiffies_to_timeval(jiffies, &cur_time);
+ if(log_stats && (cur_time.tv_sec % 10 ==1 ))
+ printk(KERN_DEBUG "%s: going to sleep %d millsecs(rate=%d)\n",
+ current->comm,
+ jiffies_to_msecs(blkif->reqtime - jiffies),
+ blkif->reqrate);
+
+ set_current_state(TASK_INTERRUPTIBLE);
+ schedule_timeout...
2011 Jun 21
13
VM disk I/O limit patch
...checking for work */
- if (do_block_io_op(blkif))
+ ret = do_block_io_op(blkif);
+ if (ret)
blkif->waiting_reqs = 1;
unplug_queue(blkif);
+ if(blkif->reqmin){
+ if(2 == ret && (blkif->reqtime > jiffies)){
+ jiffies_to_timeval(jiffies, &cur_time);
+ if(log_stats && (cur_time.tv_sec % 10 ==1 ))
+ printk(KERN_DEBUG "%s: going to sleep %d millsecs(rate=%d)\n",
+ current->comm,
+ jiffies_to_msecs(blkif->reqtime - jiffies),
+ blkif->reqrate);
+
+ set_current_state(TASK_INTERRUPTIBLE);
+ schedule_timeout...
2003 Jun 11
2
Setting Separate File server from Samba PDC
I'm aim to set up a file server that is separate from my SAMBA PDC. I've
had no problem setting file server up, and joining it to he domain using
smbpasswd.
Can I use winbind with a SAMBA PDC or is it meant only for Windows NT
servers.
When creating shares on this file server, I need to allow permissions to
various groups and or users. How can I do this. Do I need to set up NIS?
Thank
2007 Oct 25
1
[PATCH] linux: Allow actually using CONFIG_XEN_BLKDEV_TAP=m
...ic int blktap_next_minor;
-static int __init set_blkif_reqs(char *str)
-{
- get_option(&str, &blkif_reqs);
- return 1;
-}
-__setup("blkif_reqs=", set_blkif_reqs);
-
+module_param(blkif_reqs, int, 0);
/* Run-time switchable: /sys/module/blktap/parameters/ */
static unsigned int log_stats = 0;
static unsigned int debug_lvl = 0;
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2012 Aug 16
0
[RFC v1 3/5] VBD: enlarge max segment per request in blkfront
...vers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c
index 73f196c..b4767f5 100644
--- a/drivers/block/xen-blkback/blkback.c
+++ b/drivers/block/xen-blkback/blkback.c
@@ -64,6 +64,11 @@ MODULE_PARM_DESC(reqs, "Number of blkback requests to allocate");
static unsigned int log_stats;
module_param(log_stats, int, 0644);
+struct seg_buf {
+ unsigned long buf;
+ unsigned int nsec;
+};
+
/*
* Each outstanding request that we''ve passed to the lower device layers has a
* ''pending_req'' allocated to it. Each buffer_head that completes decre...
2012 Aug 16
0
[RFC v1 5/5] VBD: enlarge max segment per request in blkfront
...t;Number of blkback requests to allocate");
+int blkback_ring_type = 2;
+module_param_named(blk_ring_type, blkback_ring_type, int, 0);
+MODULE_PARM_DESC(blk_ring_type, "type of ring for blk device");
+
/* Run-time switchable: /sys/module/blkback/parameters/ */
static unsigned int log_stats;
module_param(log_stats, int, 0644);
@@ -125,7 +129,7 @@ static struct pending_req *alloc_req(struct xen_blkif *blkif)
struct xen_blkbk *blkbk = blkif->blkbk;
struct pending_req *req = NULL;
unsigned long flags;
- unsigned int max_seg = BLKIF_MAX_SEGMENTS_PER_REQUEST;
+ unsigned int max_s...
2012 Mar 05
11
[PATCH 0001/001] xen: multi page ring support for block devices
...m_call(max_ring_order,
+ set_max_ring_order, param_get_int,
+ &xen_blkif_max_ring_order, 0644);
+MODULE_PARM_DESC(max_ring_order, "log2 of maximum ring size, in pages.");
+
/* Run-time switchable: /sys/module/blkback/parameters/ */
static unsigned int log_stats;
module_param(log_stats, int, 0644);
diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h
index d0ee7ed..5f33a1a 100644
--- a/drivers/block/xen-blkback/common.h
+++ b/drivers/block/xen-blkback/common.h
@@ -126,6 +126,8 @@ struct blkif_x86_64_response {
int16...
2012 Mar 05
11
[PATCH 0001/001] xen: multi page ring support for block devices
...m_call(max_ring_order,
+ set_max_ring_order, param_get_int,
+ &xen_blkif_max_ring_order, 0644);
+MODULE_PARM_DESC(max_ring_order, "log2 of maximum ring size, in pages.");
+
/* Run-time switchable: /sys/module/blkback/parameters/ */
static unsigned int log_stats;
module_param(log_stats, int, 0644);
diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h
index d0ee7ed..5f33a1a 100644
--- a/drivers/block/xen-blkback/common.h
+++ b/drivers/block/xen-blkback/common.h
@@ -126,6 +126,8 @@ struct blkif_x86_64_response {
int16...
2012 Mar 05
11
[PATCH 0001/001] xen: multi page ring support for block devices
...m_call(max_ring_order,
+ set_max_ring_order, param_get_int,
+ &xen_blkif_max_ring_order, 0644);
+MODULE_PARM_DESC(max_ring_order, "log2 of maximum ring size, in pages.");
+
/* Run-time switchable: /sys/module/blkback/parameters/ */
static unsigned int log_stats;
module_param(log_stats, int, 0644);
diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h
index d0ee7ed..5f33a1a 100644
--- a/drivers/block/xen-blkback/common.h
+++ b/drivers/block/xen-blkback/common.h
@@ -126,6 +126,8 @@ struct blkif_x86_64_response {
int16...
2012 Sep 19
27
[PATCH] Persistent grant maps for xen blk drivers
...pfn_to_kaddr(page_to_pfn(
+ pers_gnt->page)),
+ GNTMAP_host_map,
+ pers_gnt->handle);
+
+ pages[i] = pers_gnt->page;
+ }
+
+ ret = gnttab_unmap_refs(unmap, pages, segs_to_unmap, false);
+ BUG_ON(ret);
+
+ blkif->pers_gnt_c -= segs_to_unmap;
+
+ }
+
if (log_stats)
print_stats(blkif);
@@ -343,13 +391,28 @@ static void xen_blkbk_unmap(struct pending_req *req)
static int xen_blkbk_map(struct blkif_request *req,
struct pending_req *pending_req,
- struct seg_buf seg[])
+ struct seg_buf seg[],
+ struct page *pages[])
{
struct gnttab_map_g...