[PATCH] ubifs : fix oops when remounting with no_bulk_read.

2017-06-11 Thread karam . lee
From: "karam.lee" When remounting with the no_bulk_read option, there is a problem accessing the "bulk_read buffer(bu.buf)" which has already been freed. If the bulk_read option is enabled, ubifs_tnc_bulk_read uses the pre-allocated bu.buf. While bu.buf is being used by ubifs_tnc_bulk_read, rem

[PATCH v6 2/3] zram: change parameter from vaild_io_request()

2014-10-22 Thread karam . lee
From: "karam.lee" This patch changes parameter of valid_io_request for common usage. The purpose of valid_io_request() is to determine if bio request is valid or not. This patch use I/O start address and size instead of a BIO parameter for common usage. Signed-off-by: karam.lee Acked-by: Minch

[PATCH v6 3/3] zram: implement rw_page operation of zram

2014-10-22 Thread karam . lee
From: "karam.lee" This patch implements rw_page operation for zram block device. I implemented the feature in zram and tested it. Test bed was the G2, LG electronic mobile device, whtich has msm8974 processor and 2GB memory. With a memory allocation test program consuming memory, the system gene

[PATCH v6 0/3] zram: add rw_page implementation for zram and clean up unnecessary parameter

2014-10-22 Thread karam . lee
From: "karam.lee" Recently rw_page block device operation has been added. This patchset implements rw_page operation for zram block device and does some clean-up. Patches 1~2 are for clean-up. Patch 3 is for implementation of rw_page operation. With the rw_page operation, zram can do I/O without

[PATCH v6 1/3] zram: remove bio parameter from zram_bvec_rw().

2014-10-22 Thread karam . lee
From: "karam.lee" This patch removes an unnecessary parameter(bio) from zram_bvec_rw() and zram_bvec_read(). zram_bvec_read() doesn't use a bio parameter, so remove it. zram_bvec_rw() calls a read/write operation not using bio, so a rw parameter replaces a bio parameter. Signed-off-by: karam.lee

[PATCH v5 2/3] zram: change parameter from vaild_io_request()

2014-10-22 Thread karam . lee
From: "karam.lee" This patch changes parameter of valid_io_request for common usage. The purpose of valid_io_request() is to determine if bio request is valid or not. This patch use I/O start address and size instead of a BIO parameter for common usage. Signed-off-by: karam.lee --- drivers/bl

[PATCH v5 3/3] zram: implement rw_page operation of zram

2014-10-22 Thread karam . lee
From: "karam.lee" This patch implements rw_page operation for zram block device. I implemented the feature in zram and tested it. Test bed was the G2, LG electronic mobile device, whtich has msm8974 processor and 2GB memory. With a memory allocation test program consuming memory, the system gene

[PATCH v5 1/3] zram: remove bio parameter from zram_bvec_rw().

2014-10-22 Thread karam . lee
From: "karam.lee" This patch removes an unnecessary parameter(bio) from zram_bvec_rw() and zram_bvec_read(). zram_bvec_read() doesn't use a bio parameter, so remove it. zram_bvec_rw() calls a read/write operation not using bio, so a rw parameter replaces a bio parameter. Signed-off-by: karam.lee

[PATCH v5 0/3] zram: add rw_page implementation for zram and clean up unnecessary parameter

2014-10-22 Thread karam . lee
From: "karam.lee" Recently rw_page block device operation has been added. This patchset implements rw_page operation for zram block device and does some clean-up. Patches 1~2 are for clean-up. Patch 3 is for implementation of rw_page operation. With the rw_page operation, zram can do I/O without

[PATCH v4 1/3] zram: remove bio parameter from zram_bvec_rw().

2014-10-22 Thread karam . lee
From: "karam.lee" This patch removes an unnecessary parameter(bio) from zram_bvec_rw() and zram_bvec_read(). zram_bvec_read() doesn't use a bio parameter, so remove it. zram_bvec_rw() calls a read/write operation not using bio, so a rw parameter replaces a bio parameter. Signed-off-by: karam.lee

[PATCH v4 2/3] zram: change parameter from vaild_io_request()

2014-10-22 Thread karam . lee
From: "karam.lee" This patch changes parameter of valid_io_request for common usage. The purpose of valid_io_request() is to determine if bio request is valid or not. This patch use I/O start address and size instead of a BIO parameter for common usage. Signed-off-by: karam.lee --- drivers/bl

[PATCH v4 3/3] zram: implement rw_page operation of zram

2014-10-22 Thread karam . lee
From: "karam.lee" This patch implements rw_page operation for zram block device. I implemented the feature in zram and tested it. Test bed was the G2, LG electronic mobile device, whtich has msm8974 processor and 2GB memory. With a memory allocation test program consuming memory, the system gene

[PATCH v4 0/3] zram: add rw_page implementation for zram and clean up unnecessary parameter

2014-10-22 Thread karam . lee
From: "karam.lee" Recently rw_page block device operation has been added. This patchset implements rw_page operation for zram block device and does some clean-up. Patches 1~2 are for clean-up. Patch 3 is for implementation of rw_page operation. With the rw_page operation, zram can do I/O without

[PATCH v3 0/3] zram: add rw_page implementation for zram and clean up unnecessary parameter

2014-10-21 Thread karam . lee
From: "karam.lee" Recently rw_page block device operation has been added. This patchset implements rw_page operation for zram block device and does some clean-up. Patches 1~2 are for clean-up. Patch 3 is for implementation of rw_page operation. With the rw_page operation, zram can do I/O without

[PATCH v3 2/3] zram: change parameter from vaild_io_request()

2014-10-21 Thread karam . lee
From: "karam.lee" This patch changes parameter of valid_io_request for common usage. The purpose of valid_io_request() is to determine if bio request is valid or not. This patch use I/O start address and size instead of a BIO parameter for common usage. Signed-off-by: karam.lee --- drivers/bl

[PATCH v3 3/3] zram: implement rw_page operation of zram

2014-10-21 Thread karam . lee
From: "karam.lee" This patch implements rw_page operation for zram block device. I implemented the feature in zram and tested it. Test bed was the G2, LG electronic mobile device, whtich has msm8974 processor and 2GB memory. With a memory allocation test program consuming memory, the system gene

[PATCH v3 1/3] zram: remove bio parameter from zram_bvec_rw().

2014-10-21 Thread karam . lee
From: "karam.lee" This patch removes an unnecessary parameter(bio) from zram_bvec_rw() and zram_bvec_read(). zram_bvec_read() doesn't use a bio parameter, so remove it. zram_bvec_rw() calls a read/write operation not using bio, so a rw parameter replaces a bio parameter. Signed-off-by: karam.lee

[PATCH v2 3/3] zram: implement rw_page operation of zram

2014-10-13 Thread karam . lee
From: "karam.lee" This patch implements rw_page operation for zram block device. Signed-off-by: karam.lee --- drivers/block/zram/zram_drv.c | 37 + 1 file changed, 37 insertions(+) diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c

[PATCH v2 1/3] zram: remove bio parameter from zram_bvec_rw().

2014-10-13 Thread karam . lee
From: "karam.lee" This patch removes an unnecessary parameter(bio) from zram_bvec_rw() and zram_bvec_read(). zram_bvec_read() doesn't use a bio parameter, so remove it. zram_bvec_rw() calls a read/write operation not using bio, so a rw parameter replaces a bio parameter. Signed-off-by: karam.lee

[PATCH v2 2/3] zram: change parameter from vaild_io_request()

2014-10-13 Thread karam . lee
From: "karam.lee" This patch changes parameter of valid_io_request for common usage. The purpose of valid_io_request() is to determine if bio request is valid or not. This patch use I/O start address and size instead of a BIO parameter for common usage. Signed-off-by: karam.lee --- drivers/bl

[PATCH v2 0/3] zram: add rw_page implementation for zram and clean up unnecessary parameter

2014-10-13 Thread karam . lee
From: "karam.lee" Recently rw_page block device operation has been added. This patchset implements rw_page operation for zram block device and does some clean-up . I implemented the feature in zram and tested it. Test bed was the G2, LG electronic mobile device, whtich has msm8974 processor and

[PATCH] zram: implement rw_page operation of zram block device operation

2014-10-05 Thread karam . lee
From: "karam.lee" Recently rw_page block device operation is added. This patch implements rw_page operation for zram block device so zram can process page sized I/O without bio. --- --- drivers/block/zram/zram_drv.c | 60 +++-- 1 file changed, 52 insertions(