Re: [BUG?]Set XIP mount option on ext2 bypass check.

2007-06-22 Thread Satyam Sharma
Hi, On 6/22/07, Arnd Bergmann <[EMAIL PROTECTED]> wrote: On Thursday 21 June 2007, Carsten Otte wrote: > > This is an updated version of my bugfix patch. Yan Zheng pointed out, > that ext2_remount lacks checking if -o xip should be enabled or not. > This patch checks for presence of

Re: [BUG?]Set XIP mount option on ext2 bypass check.

2007-06-22 Thread Satyam Sharma
Hi, On 6/22/07, Arnd Bergmann [EMAIL PROTECTED] wrote: On Thursday 21 June 2007, Carsten Otte wrote: This is an updated version of my bugfix patch. Yan Zheng pointed out, that ext2_remount lacks checking if -o xip should be enabled or not. This patch checks for presence of direct_access on

Re: [BUG?]Set XIP mount option on ext2 bypass check.

2007-06-21 Thread Arnd Bergmann
On Thursday 21 June 2007, Carsten Otte wrote: > > This is an updated version of my bugfix patch. Yan Zheng pointed out, > that ext2_remount lacks checking if -o xip should be enabled or not. > This patch checks for presence of direct_access on the backing block > device and if the blocksize meets

Re: [BUG?]Set XIP mount option on ext2 bypass check.

2007-06-21 Thread Carsten Otte
This is an updated version of my bugfix patch. Yan Zheng pointed out, that ext2_remount lacks checking if -o xip should be enabled or not. This patch checks for presence of direct_access on the backing block device and if the blocksize meets the requirements. Andrew, please consider adding this

Re: [BUG?]Set XIP mount option on ext2 bypass check.

2007-06-21 Thread Carsten Otte
Yan Zheng wrote: I mount an ext2 fs , then remount it with xip option set. I get message below when do write operation in the fs. Ouch. Like on mount, we should refuse -o xip on remount. The patch below fixes this issue. Signed-off-by: Carsten Otte <[EMAIL PROTECTED]> --- Index:

Re: [BUG?]Set XIP mount option on ext2 bypass check.

2007-06-21 Thread Carsten Otte
Yan Zheng wrote: I mount an ext2 fs , then remount it with xip option set. I get message below when do write operation in the fs. Ouch. Like on mount, we should refuse -o xip on remount. The patch below fixes this issue. Signed-off-by: Carsten Otte [EMAIL PROTECTED] --- Index:

Re: [BUG?]Set XIP mount option on ext2 bypass check.

2007-06-21 Thread Carsten Otte
This is an updated version of my bugfix patch. Yan Zheng pointed out, that ext2_remount lacks checking if -o xip should be enabled or not. This patch checks for presence of direct_access on the backing block device and if the blocksize meets the requirements. Andrew, please consider adding this

Re: [BUG?]Set XIP mount option on ext2 bypass check.

2007-06-21 Thread Arnd Bergmann
On Thursday 21 June 2007, Carsten Otte wrote: This is an updated version of my bugfix patch. Yan Zheng pointed out, that ext2_remount lacks checking if -o xip should be enabled or not. This patch checks for presence of direct_access on the backing block device and if the blocksize meets the

Re: [BUG?]Set XIP mount option on ext2 bypass check.

2007-06-20 Thread Yan Zheng
I mount an ext2 fs , then remount it with xip option set. I get message below when do write operation in the fs. kernel BUG at fs/ext2/xip.c:21! invalid opcode: [#1] SMP last sysfs file: /class/net/eth0/carrier Modules linked in: ext2 autofs4 hidp rfcomm l2cap bluetooth sunrpc ipv6

Re: [BUG?]Set XIP mount option on ext2 bypass check.

2007-06-20 Thread Yan Zheng
I mount an ext2 fs , then remount it with xip option set. I get message below when do write operation in the fs. kernel BUG at fs/ext2/xip.c:21! invalid opcode: [#1] SMP last sysfs file: /class/net/eth0/carrier Modules linked in: ext2 autofs4 hidp rfcomm l2cap bluetooth sunrpc ipv6