* [LTP] [PATCH] zram03: drop obsolete sysfs interfaces
@ 2018-05-23 17:14 Yang Shi
2018-05-28 6:38 ` Sergey Senozhatsky
0 siblings, 1 reply; 3+ messages in thread
From: Yang Shi @ 2018-05-23 17:14 UTC (permalink / raw)
To: ltp
Due to upstream linux commit c87d1655c29500b459fb135258a93f8309ada9c7
("zram: remove obsolete sysfs attrs"), some sysfs interfaces are not
available anymore. Remove dumping them to avoid test case failure.
Signed-off-by: Yang Shi <yang.shi@linux.alibaba.com>
---
testcases/kernel/device-drivers/zram/zram03.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/testcases/kernel/device-drivers/zram/zram03.c b/testcases/kernel/device-drivers/zram/zram03.c
index 3f7ab4e..f2c166c 100644
--- a/testcases/kernel/device-drivers/zram/zram03.c
+++ b/testcases/kernel/device-drivers/zram/zram03.c
@@ -185,11 +185,5 @@ static void print(char *string)
static void dump_info(void)
{
print("initstate");
- print("compr_data_size");
- print("orig_data_size");
print("disksize");
- print("mem_used_total");
- print("num_reads");
- print("num_writes");
- print("zero_pages");
}
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* [LTP] [PATCH] zram03: drop obsolete sysfs interfaces
2018-05-23 17:14 [LTP] [PATCH] zram03: drop obsolete sysfs interfaces Yang Shi
@ 2018-05-28 6:38 ` Sergey Senozhatsky
2018-05-30 0:22 ` Yang Shi
0 siblings, 1 reply; 3+ messages in thread
From: Sergey Senozhatsky @ 2018-05-28 6:38 UTC (permalink / raw)
To: ltp
> testcases/kernel/device-drivers/zram/zram03.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/testcases/kernel/device-drivers/zram/zram03.c b/testcases/kernel/device-drivers/zram/zram03.c
> index 3f7ab4e..f2c166c 100644
> --- a/testcases/kernel/device-drivers/zram/zram03.c
> +++ b/testcases/kernel/device-drivers/zram/zram03.c
> @@ -185,11 +185,5 @@ static void print(char *string)
> static void dump_info(void)
> {
> print("initstate");
> - print("compr_data_size");
> - print("orig_data_size");
> print("disksize");
> - print("mem_used_total");
> - print("num_reads");
> - print("num_writes");
> - print("zero_pages");
> }
Is this against the Linux kernel code or some 3-rd party code?
-ss
^ permalink raw reply [flat|nested] 3+ messages in thread* [LTP] [PATCH] zram03: drop obsolete sysfs interfaces
2018-05-28 6:38 ` Sergey Senozhatsky
@ 2018-05-30 0:22 ` Yang Shi
0 siblings, 0 replies; 3+ messages in thread
From: Yang Shi @ 2018-05-30 0:22 UTC (permalink / raw)
To: ltp
On 5/27/18 11:38 PM, Sergey Senozhatsky wrote:
>> testcases/kernel/device-drivers/zram/zram03.c | 6 ------
>> 1 file changed, 6 deletions(-)
>>
>> diff --git a/testcases/kernel/device-drivers/zram/zram03.c b/testcases/kernel/device-drivers/zram/zram03.c
>> index 3f7ab4e..f2c166c 100644
>> --- a/testcases/kernel/device-drivers/zram/zram03.c
>> +++ b/testcases/kernel/device-drivers/zram/zram03.c
>> @@ -185,11 +185,5 @@ static void print(char *string)
>> static void dump_info(void)
>> {
>> print("initstate");
>> - print("compr_data_size");
>> - print("orig_data_size");
>> print("disksize");
>> - print("mem_used_total");
>> - print("num_reads");
>> - print("num_writes");
>> - print("zero_pages");
>> }
> Is this against the Linux kernel code or some 3-rd party code?
zram03 is a LTP test case.
Yang
>
> -ss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-05-30 0:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-23 17:14 [LTP] [PATCH] zram03: drop obsolete sysfs interfaces Yang Shi
2018-05-28 6:38 ` Sergey Senozhatsky
2018-05-30 0:22 ` Yang Shi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox