WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH xen-unstable] blktap1 -- adapt user space to linux-2.

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH xen-unstable] blktap1 -- adapt user space to linux-2.6.18-xen MAX_TAP_DEV (256)
From: Laszlo Ersek <lersek@xxxxxxxxxx>
Date: Wed, 02 Mar 2011 13:39:08 +0100
Delivery-date: Wed, 02 Mar 2011 04:39:54 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7
Hi,

as of xen-unstable 22961:c5d121fd35c0 and linux-2.6.18-xen 1072:9e1f69c2e956, there's a discrepancy between the number of the blktap1 devices the kernel and the tools support. This patch intends to pull up the tools side to the same limit (256).

While testing the related RHBZ (680407), additional (run time) limits were encountered.

One is the fs.aio-max-nr sysctl. A hint is logged about raising it; the patch fixes a typo (which is absent from the corresponding blktap2 code) in this message.

The other run time limit is one of the four default xenstore quotas. (I didn't investigate which one exactly.) Though the quotas can be overridden with command line options, the patch quadruples all the defaults. In the process I noticed there was a mismatch between the set of command line options xenstored accepts and the set it displays as usage help; the patch tries to adjust the latter to the former (entry-watch --> watch-nb).

I think the patch is small enough not to be split up in a series; please pick whichever hunk you deem worthy.

Thanks for considering,
lacos

Attachment: upstream.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH xen-unstable] blktap1 -- adapt user space to linux-2.6.18-xen MAX_TAP_DEV (256), Laszlo Ersek <=