On 10/23/19 4:55 AM, Mike Kravetz wrote:
On 10/22/19 12:09 AM, Piotr Sarna wrote:
On 10/21/19 7:17 PM, Mike Kravetz wrote:
On 10/15/19 4:37 PM, Mike Kravetz wrote:
On 10/15/19 3:50 AM, Michal Hocko wrote:
On Tue 15-10-19 11:01:12, Piotr Sarna wrote:
With hugetlbfs, a common pattern
On 10/21/19 7:17 PM, Mike Kravetz wrote:
On 10/15/19 4:37 PM, Mike Kravetz wrote:
On 10/15/19 3:50 AM, Michal Hocko wrote:
On Tue 15-10-19 11:01:12, Piotr Sarna wrote:
With hugetlbfs, a common pattern for mapping anonymous huge pages
is to create a temporary file first.
Really? I though
and successfully
mapping 2M huge pages with it. Without the patch, trying to open
a file with O_TMPFILE results in -ENOSUP.
Signed-off-by: Piotr Sarna
---
fs/hugetlbfs/inode.c | 25 ++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/fs/hugetlbfs/inode.c b/fs
e function hangs on
uninitialized read-write lock.
To prevent that behaviour, pool_id should be checked for being positive
before assigning zpool variable with pools[pool_id].
Signed-off-by: Piotr Sarna
Acked-by: Bartlomiej Zolnierkiewicz
Signed-off-by: Kyungmin Park
---
mm/zcache.c |6
hangs on
uninitialized read-write lock.
To prevent that behaviour, pool_id should be checked for being positive
before assigning zpool variable with pools[pool_id].
Signed-off-by: Piotr Sarna p.sa...@partner.samsung.com
Acked-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
Signed-off
this problem is in setting EXPLICIT_DELALLOC flag
properly. This patch ensures that EXPLICIT_DELALLOC flag is set only
if "delalloc" parameter was used, and not set in case of "nodelalloc".
Signed-off-by: Piotr Sarna
Acked-by: Bartlomiej Zolnierkiewicz
Signed-off-by: Kyungmin Par
tions() call to ensure
that data=journal and delalloc/dioread_nolock parameters are not present
at the same time.
Signed-off-by: Piotr Sarna
Acked-by: Bartlomiej Zolnierkiewicz
Signed-off-by: Kyungmin Park
---
fs/ext4/super.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
. This patch ensures that EXPLICIT_DELALLOC flag is set only
if delalloc parameter was used, and not set in case of nodelalloc.
Signed-off-by: Piotr Sarna p.sa...@partner.samsung.com
Acked-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
/dioread_nolock parameters are not present
at the same time.
Signed-off-by: Piotr Sarna p.sa...@partner.samsung.com
Acked-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
fs/ext4/super.c | 17 -
1 file changed, 16
On 07/31/2013 02:49 PM, Greg KH wrote:
> On Wed, Jul 31, 2013 at 12:16:36PM +0200, Piotr Sarna wrote:
>> Hi,
>>
>> On 07/30/2013 03:53 PM, Greg KH wrote:
>>> On Tue, Jul 30, 2013 at 02:30:48PM +0200, Piotr Sarna wrote:
>>>> Current version of zram do
Hi,
On 07/30/2013 03:53 PM, Greg KH wrote:
> On Tue, Jul 30, 2013 at 02:30:48PM +0200, Piotr Sarna wrote:
>> Current version of zram does not allow any substitution of a default
>> compression algorithm. Therefore, I decided to change the existing
>> implementation of page
Hi,
On 07/30/2013 03:53 PM, Greg KH wrote:
On Tue, Jul 30, 2013 at 02:30:48PM +0200, Piotr Sarna wrote:
Current version of zram does not allow any substitution of a default
compression algorithm. Therefore, I decided to change the existing
implementation of page compression by adding Crypto
On 07/31/2013 02:49 PM, Greg KH wrote:
On Wed, Jul 31, 2013 at 12:16:36PM +0200, Piotr Sarna wrote:
Hi,
On 07/30/2013 03:53 PM, Greg KH wrote:
On Tue, Jul 30, 2013 at 02:30:48PM +0200, Piotr Sarna wrote:
Current version of zram does not allow any substitution of a default
compression
per thread took 0.60s with per-cpu
code included and approximately 0.80s without per-cpu support.
Signed-off-by: Piotr Sarna
Acked-by: Bartlomiej Zolnierkiewicz
Signed-off-by: Kyungmin Park
---
drivers/staging/zram/zram_drv.c | 146 +--
drivers/staging/zram
the value
of zram.compressor module parameter to a proper name (e.g. lz4).
Signed-off-by: Piotr Sarna
Acked-by: Bartlomiej Zolnierkiewicz
Signed-off-by: Kyungmin Park
---
drivers/staging/zram/Kconfig|5 +-
drivers/staging/zram/zram_drv.c | 106 ---
drivers/st
of zram.compressor module parameter to a proper name (e.g. lz4).
Signed-off-by: Piotr Sarna p.sa...@partner.samsung.com
Acked-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
drivers/staging/zram/Kconfig|5 +-
drivers/staging/zram/zram_drv.c
per thread took 0.60s with per-cpu
code included and approximately 0.80s without per-cpu support.
Signed-off-by: Piotr Sarna p.sa...@partner.samsung.com
Acked-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
drivers/staging/zram
() ended properly.
A solution to this problem is as following:
1. Move the "goto out" directive inside the "if (!ret)" statement
2. In case that crypto_has_comp() returned 0, change the value of ret
to non-zero before "goto out" to indicate an error.
Signed-off-
to this problem is as following:
1. Move the goto out directive inside the if (!ret) statement
2. In case that crypto_has_comp() returned 0, change the value of ret
to non-zero before goto out to indicate an error.
Signed-off-by: Piotr Sarna p.sa...@partner.samsung.com
Acked-by: Bartlomiej
() ended properly.
A solution to this problem is as following:
1. Move the "goto out" directive inside the "if (!ret)" statement
2. In case that crypto_has_comp() returned 0, change the value of ret
to non-zero before "goto out" to indicate an error.
Signed-off-
to this problem is as following:
1. Move the goto out directive inside the if (!ret) statement
2. In case that crypto_has_comp() returned 0, change the value of ret
to non-zero before goto out to indicate an error.
Signed-off-by: Piotr Sarna p.sa...@partner.samsung.com
Acked-by: Bartlomiej
21 matches
Mail list logo