Skip to contentSkip to conversation

zram01: add a new test for zram feature

PATCH New CAI Qian 1 participant 1 message Dec 31, 2010 1 message not in the archive

lore
Share & tools
lore

CAI Qian

author
#1 lore raw

PATCH v2 1/1 zram01: add a new test for zram feature

In reply to a message not in the archive

zram: generic RAM based compressed R/W block devices
http://lkml.org/lkml/2010/8/9/227

---
v2: code cleanup

 testcases/kernel/mem/zram/Makefile |   22 +++++
 testcases/kernel/mem/zram/zram01.c |  158 ++++++++++++++++++++++++++++++++++++
 2 files changed, 180 insertions(+), 0 deletions(-)
 create mode 100644 testcases/kernel/mem/zram/Makefile
 create mode 100644 testcases/kernel/mem/zram/zram01.c
testcases/kernel/mem/zram/Makefile new file +22 -0
new file mode 100644
index 0000000..3634570
@@ -0,0 +1,22 @@
+#
+#  Copyright (C) 2010  Red Hat, Inc.
+#
+#  This program is free software;  you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
+#  the GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program;  if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+top_srcdir              ?= ../../../..
+
+include $(top_srcdir)/include/mk/testcases.mk
+include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/mem/zram/zram01.c new file +158 -0

158 lines not on this page · raw message

Signature · 1 line
1.7.3.2

From 0fe77157c7b0b412ac6a89e401417ddf86d18519 Mon Sep 17 00:00:00 2001
From: CAI Qian <[email protected]>
Date: Fri, 31 Dec 2010 09:18:32 +0800
Subject: [PATCH v2] zram01: add a new test for zram feature

zram: generic RAM based compressed R/W block devices
http://lkml.org/lkml/2010/8/9/227

---
v2: code cleanup

 testcases/kernel/mem/zram/Makefile |   22 +++++
 testcases/kernel/mem/zram/zram01.c |  158 ++++++++++++++++++++++++++++++++++++
 2 files changed, 180 insertions(+), 0 deletions(-)
 create mode 100644 testcases/kernel/mem/zram/Makefile
 create mode 100644 testcases/kernel/mem/zram/zram01.c
testcases/kernel/mem/zram/Makefile new file +22 -0
new file mode 100644
index 0000000..3634570
@@ -0,0 +1,22 @@
+#
+#  Copyright (C) 2010  Red Hat, Inc.
+#
+#  This program is free software;  you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY;  without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
+#  the GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program;  if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+top_srcdir              ?= ../../../..
+
+include $(top_srcdir)/include/mk/testcases.mk
+include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/mem/zram/zram01.c new file +158 -0

158 lines not on this page · raw message

Signature · 1 line
1.7.3.2

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list