Surbhi Palande | 1 Apr 10:30 2010

[PATCH] ext4: correctly calculate number of blocks for fiemap

The following cherry-picked patch fixes the calculation of extents in fiemap.
The commit id in the upstream code is: aca92ff6f57c000d1b4523e383c8bd6b8269b8b1
This patch fixes bug 474597 on LP. Do consider merging this in Lucid.

From dfaa33f0502a8bf9dff0e596783a40ce330c7a9b Mon Sep 17 00:00:00 2001
From: Leonard Michlmayr <leonard.michlmayr <at> gmail.com>
Date: Thu, 4 Mar 2010 17:07:28 -0500
Subject: [PATCH] ext4: correctly calculate number of blocks for fiemap

http://launchpad.net/bugs/474597

ext4_fiemap() rounds the length of the requested range down to
blocksize, which is is not the true number of blocks that cover the
requested region.  This problem is especially impressive if the user
requests only the first byte of a file: not a single extent will be
reported.

We fix this by calculating the last block of the region and then
subtract to find the number of blocks in the extents.

Signed-off-by: Leonard Michlmayr <leonard.michlmayr <at> gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso <at> mit.edu>
(cherry picked from commit aca92ff6f57c000d1b4523e383c8bd6b8269b8b1)

Signed-off-by: Surbhi Palande <surbhi.palande <at> canonical.com>
---
 fs/ext4/extents.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
(Continue reading)

Stefan Bader | 1 Apr 10:55 2010

Re: [PATCH] ext4: correctly calculate number of blocks for fiemap

Surbhi Palande wrote:
> The following cherry-picked patch fixes the calculation of extents in fiemap.
> The commit id in the upstream code is: aca92ff6f57c000d1b4523e383c8bd6b8269b8b1
> This patch fixes bug 474597 on LP. Do consider merging this in Lucid.

Surbhi,

it would be better to give a quick summary about what the symptom of it is and
how the fix affects it here. Saves us going to LP and read through it. ;-)

> From dfaa33f0502a8bf9dff0e596783a40ce330c7a9b Mon Sep 17 00:00:00 2001
> From: Leonard Michlmayr <leonard.michlmayr <at> gmail.com>
> Date: Thu, 4 Mar 2010 17:07:28 -0500
> Subject: [PATCH] ext4: correctly calculate number of blocks for fiemap
> 
> http://launchpad.net/bugs/474597
BugLink: ...
> 
> ext4_fiemap() rounds the length of the requested range down to
> blocksize, which is is not the true number of blocks that cover the
> requested region.  This problem is especially impressive if the user
> requests only the first byte of a file: not a single extent will be
> reported.
> 
> We fix this by calculating the last block of the region and then
> subtract to find the number of blocks in the extents.
> 
> Signed-off-by: Leonard Michlmayr <leonard.michlmayr <at> gmail.com>
> Signed-off-by: "Theodore Ts'o" <tytso <at> mit.edu>
> (cherry picked from commit aca92ff6f57c000d1b4523e383c8bd6b8269b8b1)
(Continue reading)

Stefan Bader | 1 Apr 11:20 2010

Re: [PATCH] psmouse: touchpad doesn't reconnect after resume: Synaptics ps2 Bug: 551234

Peter M. Petrakis wrote:
> Stefan,
> 
> I think we tried that, but I retested again just to be sure
> with a live image and it still fails with that option. Also,
> removing and reinserting the psmouse mod doesn't make a
> difference.
> 
> Peter
> 
> On 03/30/2010 05:46 AM, Stefan Bader wrote:
>> Peter M. Petrakis wrote:
>>> Hi All,
>>>
>>> This is my first stab at correcting some PS/2 misbehavior when returning
>>> from S3. Fire away :). Thanks.
>>>
>>> Peter
>>>
>>> P.S. Collaborated with Colin King on this one.
>>>
>> Hm, just a question. Have you tried using "i8042.reset=1" in the boot command
>> line while getting it to work(without your patch applied)? Knowing Coling likely
>> yes. But to be sure here...
>>
>> Stefan
> 

Ok, sorry for the delayed response. First off, I assume this is requested for
Lucid, right?
(Continue reading)

Surbhi Palande | 1 Apr 11:21 2010

[PATCH] ext4: correctly calculate number of blocks for fiemap

The following cherry-picked patch fixes the calculation of extents in fiemap.
Without this patch a user of fiemap could be misled into thinking that there
are no extents in a file when actually there are. This patch is necessary for
code such as ureadahead which uses fiemap to find out if the file extents have
increased.

The commit id in the upstream code is: aca92ff6f57c000d1b4523e383c8bd6b8269b8b1
This patch fixes bug 474597 on LP. Do consider merging this in Lucid.

From dfaa33f0502a8bf9dff0e596783a40ce330c7a9b Mon Sep 17 00:00:00 2001
From: Leonard Michlmayr <leonard.michlmayr <at> gmail.com>
Date: Thu, 4 Mar 2010 17:07:28 -0500
Subject: [PATCH] ext4: correctly calculate number of blocks for fiemap

ext4_fiemap() rounds the length of the requested range down to
blocksize, which is is not the true number of blocks that cover the
requested region.  This problem is especially impressive if the user
requests only the first byte of a file: not a single extent will be
reported.

We fix this by calculating the last block of the region and then
subtract to find the number of blocks in the extents.

Signed-off-by: Leonard Michlmayr <leonard.michlmayr <at> gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso <at> mit.edu>
(cherry picked from commit aca92ff6f57c000d1b4523e383c8bd6b8269b8b1 upstream)

BugLink: http://launchpad.net/bugs/474597
Signed-off-by: Surbhi Palande <surbhi.palande <at> canonical.com>
---
(Continue reading)

Andy Whitcroft | 1 Apr 11:24 2010

Re: [PATCH] psmouse: touchpad doesn't reconnect after resume: Synaptics ps2 Bug: 551234

On Mon, Mar 29, 2010 at 05:18:35PM -0400, Peter M. Petrakis wrote:
> Hi All,
> 
> This is my first stab at correcting some PS/2 misbehavior when returning
> from S3. Fire away :). Thanks.
> 
> Peter
> 
> P.S. Collaborated with Colin King on this one.

> From 006e55bacfe64f5fe6b8c12af071f7b2bf528c3a Mon Sep 17 00:00:00 2001
> From: Peter M. Petrakis <peter.petrakis <at> canonical.com>
> Date: Fri, 26 Mar 2010 17:23:43 -0400
> Subject: [PATCH] Perform a reset should psmouse_probe fail for any reason. This is necessary for some
PS/2 devices who can't even be identified when returning from sleep (S3).
> 
> ---
>  psmouse-base.c |   28 +++++++++++++++++++++++++---
>  1 files changed, 25 insertions(+), 3 deletions(-)
> 
> diff --git a/psmouse-base.c b/psmouse-base.c
> index b407b35..3b8e63c 100644
> --- a/psmouse-base.c
> +++ b/psmouse-base.c
>  <at>  <at>  -856,12 +856,12  <at>  <at>  static const struct psmouse_protocol *psmouse_protocol_by_name(const char *name,
>  	return NULL;
>  }
>  
> -
>  /*
(Continue reading)

Stefan Bader | 1 Apr 11:37 2010

Re: [PATCH] ext4: correctly calculate number of blocks for fiemap

Ok, looks good to me now.

Surbhi Palande wrote:
> The following cherry-picked patch fixes the calculation of extents in fiemap.
> Without this patch a user of fiemap could be misled into thinking that there
> are no extents in a file when actually there are. This patch is necessary for
> code such as ureadahead which uses fiemap to find out if the file extents have
> increased.
> 
> The commit id in the upstream code is: aca92ff6f57c000d1b4523e383c8bd6b8269b8b1
> This patch fixes bug 474597 on LP. Do consider merging this in Lucid.
> 
> From dfaa33f0502a8bf9dff0e596783a40ce330c7a9b Mon Sep 17 00:00:00 2001
> From: Leonard Michlmayr <leonard.michlmayr <at> gmail.com>
> Date: Thu, 4 Mar 2010 17:07:28 -0500
> Subject: [PATCH] ext4: correctly calculate number of blocks for fiemap
> 
> ext4_fiemap() rounds the length of the requested range down to
> blocksize, which is is not the true number of blocks that cover the
> requested region.  This problem is especially impressive if the user
> requests only the first byte of a file: not a single extent will be
> reported.
> 
> We fix this by calculating the last block of the region and then
> subtract to find the number of blocks in the extents.
> 
> Signed-off-by: Leonard Michlmayr <leonard.michlmayr <at> gmail.com>
> Signed-off-by: "Theodore Ts'o" <tytso <at> mit.edu>
> (cherry picked from commit aca92ff6f57c000d1b4523e383c8bd6b8269b8b1 upstream)
> 
(Continue reading)

Stefan Bader | 1 Apr 11:59 2010

[Lucid] SRU: Add xen netboot support

This patch adds the two modules to the d-i/modules files to be included
in the udeb files.

NOTE: Contrary to the propoal I got throught IRC, I have added the
xen-blkfront modules to block-modules and not scsi-modules. This
seemed more appropriate as it is built in drivers/block and not
drivers/scsi and virtio_blk lands in the same file.

cjwatson: Please let us/me know if that is not ok. Thanks.

-Stefan

From 7d5eb60bada3a3f428f2938b635e8ed6fb43982b Mon Sep 17 00:00:00 2001
From: Stefan Bader <stefan.bader <at> canonical.com>
Date: Thu, 1 Apr 2010 11:53:00 +0200
Subject: [PATCH] UBUNTU: [Config] Add xen netboot support

BugLink: http://bugs.launchpad.net/bugs/160366

This adds xen-netfront and xen-blkfront to the debian installer modules
list.

Signed-off-by: Stefan Bader <stefan.bader <at> canonical.com>
---
 debian.master/d-i/modules/block-modules |    1 +
 debian.master/d-i/modules/nic-modules   |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian.master/d-i/modules/block-modules b/debian.master/d-i/modules/block-modules
index be8a07b..ada17c5 100644
(Continue reading)

Andy Whitcroft | 1 Apr 12:44 2010

[lucid] linux kernel 2.6.32-19.28 uploaded (ABI bump)

We have just uploaded a new Lucid linux kernel.  This brings a number of
bugfixes for graphics and AppArmor.  Note the ABI bump:

    https://www.launchpad.net/ubuntu/+source/linux/2.6.32-19.28

-apw

Andy Whitcroft | 1 Apr 12:48 2010

[lucid] linux-mvl-dove kernel 2.6.32-203.15 uploaded (ABI bump)

We have just uploaded a new Lucid linux-mvl-dove kernel.  This kernel
is now rebased to Ubuntu-2.6.32-19.28.  Note the ABI bump:

    https://www.launchpad.net/ubuntu/+source/linux-mvl-dove/2.6.32-203.15

-apw

Andy Whitcroft | 1 Apr 12:50 2010

linux-fsl-imx51 kernel 2.6.31-607.12 uploaded (ABI bump)

We have just uploaded a new Lucid linux-fsl-imx51 kernel.  It is now
based on Ubuntu-2.6.31-21.59.  It brings in the latest security updates.
Note the ABI bump:

    https://www.launchpad.net/ubuntu/+source/linux-fsl-imx51/2.6.31-607.12

-apw


Gmane