<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/gfs2/util.c, branch linux-4.20.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.20.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.20.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-10-05T15:51:11Z</updated>
<entry>
<title>gfs2: slow the deluge of io error messages</title>
<updated>2018-10-05T15:51:11Z</updated>
<author>
<name>Bob Peterson</name>
</author>
<published>2018-10-04T15:21:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b524abcc01483b2ac093cc6a8a2a7375558d2b64'/>
<id>urn:sha1:b524abcc01483b2ac093cc6a8a2a7375558d2b64</id>
<content type='text'>
When an io error is hit, it calls gfs2_io_error_bh_i for every
journal buffer it can't write. Since we changed gfs2_io_error_bh_i
recently to withdraw later in the cycle, it sends a flood of
errors to the console. This patch checks for the file system already
being withdrawn, and if so, doesn't send more messages. It doesn't
stop the flood of messages, but it slows it down and keeps it more
reasonable.

Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: improve debug information when lvb mismatches are found</title>
<updated>2018-08-28T17:51:08Z</updated>
<author>
<name>Bob Peterson</name>
</author>
<published>2018-08-15T17:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72244b6bc752b5c496f09de9a13c18adc314a53c'/>
<id>urn:sha1:72244b6bc752b5c496f09de9a13c18adc314a53c</id>
<content type='text'>
Before this patch, gfs2_rgrp_bh_get would check for lvb mismatches,
but it wouldn't tell you what was actually wrong. This patch adds
more information to help us debug it. It also makes rgrp consistency
checks dump any bad rgrps, and the rgrp dump code dump any lvbs
as well as the rgrp itself.

Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
Acked-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Don't withdraw under a spin lock</title>
<updated>2018-06-21T12:39:44Z</updated>
<author>
<name>Andreas Gruenbacher</name>
</author>
<published>2018-06-07T10:56:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e1a9ecd13b9bb421c88135b178577caf4d54f6a'/>
<id>urn:sha1:9e1a9ecd13b9bb421c88135b178577caf4d54f6a</id>
<content type='text'>
In two places, the gfs2_io_error_bh macro is called while holding the
sd_ail_lock spin lock.  This isn't allowed because gfs2_io_error_bh
withdraws the filesystem, which can sleep because it issues a uevent.
To fix that, add a gfs2_io_error_bh_wd macro that does withdraw the
filesystem and change gfs2_io_error_bh to not withdraw the filesystem.
In those places where the new gfs2_io_error_bh is used, withdraw the
filesystem after releasing sd_ail_lock.

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
Reviewed-by: Andrew Price &lt;anprice@redhat.com&gt;
</content>
</entry>
<entry>
<title>Replace &lt;asm/uaccess.h&gt; with &lt;linux/uaccess.h&gt; globally</title>
<updated>2016-12-24T19:46:01Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2016-12-24T19:46:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba'/>
<id>urn:sha1:7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba</id>
<content type='text'>
This was entirely automated, using the script by Al:

  PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*&lt;asm/uaccess.h&gt;'
  sed -i -e "s!$PATT!#include &lt;linux/uaccess.h&gt;!" \
        $(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h)

to do the replacement at the end of the merge window.

Requested-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>GFS2: ignore unlock failures after withdraw</title>
<updated>2016-03-24T12:28:48Z</updated>
<author>
<name>Benjamin Marzinski</name>
</author>
<published>2016-03-23T18:29:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3e11e530415027a57936545957126aff49267b76'/>
<id>urn:sha1:3e11e530415027a57936545957126aff49267b76</id>
<content type='text'>
After gfs2 has withdrawn the filesystem, it may still have many locks not
in the unlocked state.  If it is using lock_dlm, it will failed trying
the unlocks since it has already unmounted the lock manager. Instead, it
should set the SDF_SKIP_DLM_UNLOCK flag on withdraw, to signal that
it can skip the lock_manager on unlocks, and failback to lock_nolock
style unlocking.

Signed-off-by: Benjamin Marzinski &lt;bmarzins@redhat.com&gt;
Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>GFS2: Make rgrp reservations part of the gfs2_inode structure</title>
<updated>2015-12-14T18:16:38Z</updated>
<author>
<name>Bob Peterson</name>
</author>
<published>2015-07-16T13:28:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a097dc7e24cba7980bc5e2df461a4ef228e97e59'/>
<id>urn:sha1:a097dc7e24cba7980bc5e2df461a4ef228e97e59</id>
<content type='text'>
Before this patch, multi-block reservation structures were allocated
from a special slab. This patch folds the structure into the gfs2_inode
structure. The disadvantage is that the gfs2_inode needs more memory,
even when a file is opened read-only. The advantages are: (a) we don't
need the special slab and the extra time it takes to allocate and
deallocate from it. (b) we no longer need to worry that the structure
exists for things like quota management. (c) This also allows us to
remove the calls to get_write_access and put_write_access since we
know the structure will exist.

Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>GFS2: Extract quota data from reservations structure (revert 5407e24)</title>
<updated>2015-11-24T14:38:44Z</updated>
<author>
<name>Bob Peterson</name>
</author>
<published>2015-10-26T15:40:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b54e9a0b92d44843f6719ae22b0f6daf5b9b23b4'/>
<id>urn:sha1:b54e9a0b92d44843f6719ae22b0f6daf5b9b23b4</id>
<content type='text'>
This patch basically reverts the majority of patch 5407e24.
That patch eliminated the gfs2_qadata structure in favor of just
using the reservations structure. The problem with doing that is that
it increases the size of the reservations structure. That is not an
issue until it comes time to fold the reservations structure into the
inode in memory so we know it's always there. By separating out the
quota structure again, we aren't punishing the non-quota users by
making all the inodes bigger, requiring more slab space. This patch
creates a new slab area to allocate the quota stuff so it's managed
a little more sanely.

Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>GFS2: Convert gfs2_lm_withdraw to use fs_err</title>
<updated>2014-03-07T09:39:18Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2014-03-06T20:17:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb94eb066e089da461d37fea39779606512e144a'/>
<id>urn:sha1:cb94eb066e089da461d37fea39779606512e144a</id>
<content type='text'>
vprintk use is not prefixed by a KERN_&lt;LEVEL&gt;,
so emit these messages at KERN_ERR level.

Using %pV can save some code and allow fs_err to
be used, so do it.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;

</content>
</entry>
<entry>
<title>GFS2: Use fs_&lt;level&gt; more often</title>
<updated>2014-03-07T09:32:31Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2014-03-06T20:10:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8382e26b2c8ba3c4be552d887eed1969dc1a95b8'/>
<id>urn:sha1:8382e26b2c8ba3c4be552d887eed1969dc1a95b8</id>
<content type='text'>
Convert a couple of uses of pr_&lt;level&gt; to fs_&lt;level&gt;
Add and use fs_emerg.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;

</content>
</entry>
<entry>
<title>GFS2: Use pr_&lt;level&gt; more consistently</title>
<updated>2014-03-07T09:30:51Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2014-03-06T20:10:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d77d1b58aaf4456946b8502c67f16b52fda60303'/>
<id>urn:sha1:d77d1b58aaf4456946b8502c67f16b52fda60303</id>
<content type='text'>
Add pr_fmt, remove embedded "GFS2: " prefixes.
This now consistently emits lower case "gfs2: " for each message.

Other miscellanea around these changes:

o Add missing newlines
o Coalesce formats
o Realign arguments

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Steven Whitehouse &lt;swhiteho@redhat.com&gt;

</content>
</entry>
</feed>
