Gitweb: http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=e36ee220cc…
Commit: e36ee220cca09b7530d136c8aef578c24ef4339c
Parent: 257347eca68964e0049ccee8f5d8b1f07664bcc0
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Fri Jan 27 10:46:38 2017 +0000
Committer: Andrew Price <anprice(a)redhat.com>
CommitterDate: Fri Jan 27 10:46:38 2017 +0000
gfs2-utils docs: Update some URLs
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
doc/README.contributing | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/README.contributing b/doc/README.contributing
index d669271..26ec77d 100644
--- a/doc/README.contributing
+++ b/doc/README.contributing
@@ -6,9 +6,9 @@ Here are some brief guidelines to follow when contributing to gfs2-utils.
Translations
------------
-We use the Transifex translation service:
+We use the Zanata translation service:
- https://transifex.com/projects/p/gfs2-utils/
+ https://fedora.zanata.org/project/view/gfs2-utils
See the documentation there for submitting translations.
@@ -25,7 +25,7 @@ We use git for managing our source code and we assume here that you're familiar
with git. Patches should apply cleanly to the latest master branch of
gfs2-utils.git
- http://git.fedorahosted.org/cgit/gfs2-utils.git
+ https://pagure.io/gfs2-utils
For ease of review and maintenance each of your patches should address a single
issue and if there are multiple issues please consider spreading your work over
Gitweb: http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=257347eca6…
Commit: 257347eca68964e0049ccee8f5d8b1f07664bcc0
Parent: ca2fd6091834d7e13c9e4c0650f157b21a420074
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Thu Jan 26 20:00:52 2017 +0000
Committer: Andrew Price <anprice(a)redhat.com>
CommitterDate: Thu Jan 26 20:00:52 2017 +0000
gfs2-utils README: List libuuid as a dependency
...and tweak the wording of the optional 'check' dependency.
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
README | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/README b/README
index e8ab577..a04653f 100644
--- a/README
+++ b/README
@@ -20,7 +20,8 @@ The following development packages are required to build gfs2-utils:
o flex
o zlib
o libblkid
- o check (optional, enables the test suite)
+ o libuuid
+ o check (optional, enables unit tests)
The kernel header include/linux/gfs2-ondisk.h and its dependencies are also
required.
@@ -50,6 +51,7 @@ gfs2-utils requires the following libraries:
o zlib
o ncurses
o libblkid
+ o libuuid
To install gfs2-utils, run:
Gitweb: http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=7e55c05938…
Commit: 7e55c059388c25cd6e3c22e1c6ac9af5519f1dc3
Parent: d9c696542df0af5aa57d5a89cc3a487bf651fa14
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Wed Jan 25 14:02:48 2017 +0000
Committer: Andrew Price <anprice(a)redhat.com>
CommitterDate: Wed Jan 25 14:02:48 2017 +0000
mkfs.gfs2: Warn when device is misaligned
Normally one layer of the I/O stack will adjust for a non-zero
alignment_offset value and expose it to upper layers as zero. If a
misalignment is not accounted for, mkfs.gfs2 will see a non-zero
alignment_offset and should report the misalignment to the user as it
could harm performance.
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
gfs2/mkfs/main_mkfs.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/gfs2/mkfs/main_mkfs.c b/gfs2/mkfs/main_mkfs.c
index a2d2ba9..db83d1c 100644
--- a/gfs2/mkfs/main_mkfs.c
+++ b/gfs2/mkfs/main_mkfs.c
@@ -495,7 +495,11 @@ static unsigned choose_blocksize(struct mkfs_opts *opts)
printf("optimal_io_size: %lu\n", dev->optimal_io_size);
printf("physical_sector_size: %lu\n", dev->physical_sector_size);
}
-
+ if (dev->got_topol && dev->alignment_offset != 0) {
+ fprintf(stderr,
+ _("Warning: device is not properly aligned. This may harm performance.\n"));
+ dev->physical_sector_size = dev->logical_sector_size;
+ }
if (!opts->got_bsize && dev->got_topol) {
if (dev->optimal_io_size <= getpagesize() &&
dev->optimal_io_size >= dev->minimum_io_size)
Gitweb: http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=2e0c08d53e…
Commit: 2e0c08d53e44a4a053a47482e0035e42144f74bb
Parent: e3dd91be030cfb6c473e4b1cce2dc32df9e7ab4f
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Fri Jan 20 11:39:59 2017 +0000
Committer: Andrew Price <anprice(a)redhat.com>
CommitterDate: Fri Jan 20 11:39:59 2017 +0000
gfs2-utils: README file improvements
Add some introductory text, split the info into sections, separate the
build requirements from the installation requirements and generally tidy
up.
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
README | 72 ++++++++++++++++++++++++++++++++++++++++++++-------------------
1 files changed, 50 insertions(+), 22 deletions(-)
diff --git a/README b/README
index d0a21c3..e8ab577 100644
--- a/README
+++ b/README
@@ -1,41 +1,69 @@
+gfs2-utils
+----------
-To build this source tree, you will need:
+This package contains the tools needed to create, check, manipulate and analyze
+gfs2 filesystems, along with important scripts required to support gfs2
+clusters.
- - automake
- - GNU make
- - GCC tool chain
+Build instructions
+------------------
-Plus the following libraries:
+The following development packages are required to build gfs2-utils:
- ncurses (for gfs2_edit)
- gettext
- bison
- flex
- zlib
- libblkid
- check (optional, enables the test suite)
+ o autoconf
+ o automake
+ o libtool
+ o GNU make
+ o ncurses
+ o gettext
+ o bison
+ o flex
+ o zlib
+ o libblkid
+ o check (optional, enables the test suite)
+
+The kernel header include/linux/gfs2-ondisk.h and its dependencies are also
+required.
To build gfs2-utils, run the following commands:
- ./autogen.sh
- ./configure
- make
+ $ ./autogen.sh
+ $ ./configure
+ $ make
+
+See ./configure --help for more build configuration options.
+
+Test Suite
+----------
+
+To run the test suite, use:
-To run the test suite:
+ $ make check
- make check
+See doc/README.tests for more details regarding the test suite.
+
+Installation
+------------
+
+gfs2-utils requires the following libraries:
+
+ o zlib
+ o ncurses
+ o libblkid
To install gfs2-utils, run:
- make install
+ # make install
+
+Support scripts
+---------------
The following scripts (located in gfs2/scripts) are used to complete
the userland portion of the gfs2 withdraw feature using uevents. They
will be installed by 'make install' to these directories by default:
- 82-gfs2-withdraw.rules in /usr/lib/udev/rules.d/
- gfs2_withdraw_helper in /usr/sbin/
+ 82-gfs2-withdraw.rules in /usr/lib/udev/rules.d/
+ gfs2_withdraw_helper in /usr/sbin/
-See also doc/README.contributing for details on submitting patches and
-doc/README.tests for more details regarding the test suite.
+See also doc/README.contributing for details on submitting patches.
Gitweb: http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=e3dd91be03…
Commit: e3dd91be030cfb6c473e4b1cce2dc32df9e7ab4f
Parent: 4fb1a4732e74d9d2de46ee31e1bbdf674908d261
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Fri Jan 20 11:14:03 2017 +0000
Committer: Andrew Price <anprice(a)redhat.com>
CommitterDate: Fri Jan 20 11:14:03 2017 +0000
gfs2-utils: Rename README.build to README
As there's only one README file in this directory it can just be called
README and contain the small amount of various info that needs to be
read. Removing the .build extension will also make Pagure render the
file as preformatted text.
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
Makefile.am | 2 +-
README | 41 +++++++++++++++++++++++++++++++++++++++++
README.build | 41 -----------------------------------------
3 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 1c4f8ae..adeb56d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-EXTRA_DIST = autogen.sh README.build
+EXTRA_DIST = autogen.sh README
AUTOMAKE_OPTIONS = foreign
diff --git a/README b/README
new file mode 100644
index 0000000..d0a21c3
--- /dev/null
+++ b/README
@@ -0,0 +1,41 @@
+
+To build this source tree, you will need:
+
+ - automake
+ - GNU make
+ - GCC tool chain
+
+Plus the following libraries:
+
+ ncurses (for gfs2_edit)
+ gettext
+ bison
+ flex
+ zlib
+ libblkid
+ check (optional, enables the test suite)
+
+To build gfs2-utils, run the following commands:
+
+ ./autogen.sh
+ ./configure
+ make
+
+To run the test suite:
+
+ make check
+
+To install gfs2-utils, run:
+
+ make install
+
+The following scripts (located in gfs2/scripts) are used to complete
+the userland portion of the gfs2 withdraw feature using uevents. They
+will be installed by 'make install' to these directories by default:
+
+ 82-gfs2-withdraw.rules in /usr/lib/udev/rules.d/
+ gfs2_withdraw_helper in /usr/sbin/
+
+See also doc/README.contributing for details on submitting patches and
+doc/README.tests for more details regarding the test suite.
+
diff --git a/README.build b/README.build
deleted file mode 100644
index d0a21c3..0000000
--- a/README.build
+++ /dev/null
@@ -1,41 +0,0 @@
-
-To build this source tree, you will need:
-
- - automake
- - GNU make
- - GCC tool chain
-
-Plus the following libraries:
-
- ncurses (for gfs2_edit)
- gettext
- bison
- flex
- zlib
- libblkid
- check (optional, enables the test suite)
-
-To build gfs2-utils, run the following commands:
-
- ./autogen.sh
- ./configure
- make
-
-To run the test suite:
-
- make check
-
-To install gfs2-utils, run:
-
- make install
-
-The following scripts (located in gfs2/scripts) are used to complete
-the userland portion of the gfs2 withdraw feature using uevents. They
-will be installed by 'make install' to these directories by default:
-
- 82-gfs2-withdraw.rules in /usr/lib/udev/rules.d/
- gfs2_withdraw_helper in /usr/sbin/
-
-See also doc/README.contributing for details on submitting patches and
-doc/README.tests for more details regarding the test suite.
-