<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/gfs2/aops.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-21T14:46:39Z</updated>
<entry>
<title>pagevec: Use xa_mark_t</title>
<updated>2018-10-21T14:46:39Z</updated>
<author>
<name>Matthew Wilcox</name>
</author>
<published>2017-12-05T22:30:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10bbd235859bf483f9a8a4ebe95463d700bae394'/>
<id>urn:sha1:10bbd235859bf483f9a8a4ebe95463d700bae394</id>
<content type='text'>
Removes sparse warnings.

Signed-off-by: Matthew Wilcox &lt;willy@infradead.org&gt;
</content>
</entry>
<entry>
<title>gfs2: use iomap_readpage for blocksize == PAGE_SIZE</title>
<updated>2018-07-24T22:08:49Z</updated>
<author>
<name>Andreas Gruenbacher</name>
</author>
<published>2018-06-06T19:30:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f95cbb44abf9d6545769147d5abec4770c89872d'/>
<id>urn:sha1:f95cbb44abf9d6545769147d5abec4770c89872d</id>
<content type='text'>
We only use iomap_readpage for pages that don't have buffer heads
attached yet: iomap_readpage would otherwise read pages from disk that
are marked buffer_uptodate() but not PageUptodate().  Those pages may
actually contain data more recent than what's on disk.

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
Reviewed-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Remove gfs2_write_{begin,end}</title>
<updated>2018-07-02T15:27:38Z</updated>
<author>
<name>Andreas Gruenbacher</name>
</author>
<published>2018-03-19T23:10:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=025d0e7f73c6a9cc3ca2fe7de821792a8f3269bf'/>
<id>urn:sha1:025d0e7f73c6a9cc3ca2fe7de821792a8f3269bf</id>
<content type='text'>
Now that generic_file_write_iter is no longer used, there are no
remaining users of these address space operations.

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
Reviewed-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: iomap direct I/O support</title>
<updated>2018-07-02T15:27:32Z</updated>
<author>
<name>Andreas Gruenbacher</name>
</author>
<published>2018-06-19T14:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=967bcc91b044936e85dbb5848952dc1335a846f4'/>
<id>urn:sha1:967bcc91b044936e85dbb5848952dc1335a846f4</id>
<content type='text'>
The page unmapping previously done in gfs2_direct_IO is now done
generically in iomap_dio_rw.

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
Reviewed-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: iomap buffered write support</title>
<updated>2018-07-02T15:27:17Z</updated>
<author>
<name>Andreas Gruenbacher</name>
</author>
<published>2018-06-24T14:04:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64bc06bb32ee9cf458f432097113c8b495d75757'/>
<id>urn:sha1:64bc06bb32ee9cf458f432097113c8b495d75757</id>
<content type='text'>
With the traditional page-based writes, blocks are allocated separately
for each page written to.  With iomap writes, we can allocate a lot more
blocks at once, with a fraction of the allocation overhead for each
page.

Split calculating the number of blocks that can be allocated at a given
position (gfs2_alloc_size) off from gfs2_iomap_alloc: that size
determines the number of blocks to allocate and reserve in the journal.

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
Reviewed-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: Remove ordered write mode handling from gfs2_trans_add_data</title>
<updated>2018-06-04T12:50:16Z</updated>
<author>
<name>Andreas Gruenbacher</name>
</author>
<published>2018-06-04T12:50:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=845802b112eeedfa32b2ebba694996a49677596e'/>
<id>urn:sha1:845802b112eeedfa32b2ebba694996a49677596e</id>
<content type='text'>
In journaled data mode, we need to add each buffer head to the current
transaction.  In ordered write mode, we only need to add the inode to
the ordered inode list.  So far, both cases are handled in
gfs2_trans_add_data.  This makes the code look misleading and is
inefficient for small block sizes as well.  Handle both cases separately
instead.

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>gfs2: gfs2_stuffed_write_end cleanup</title>
<updated>2018-06-04T12:45:53Z</updated>
<author>
<name>Andreas Gruenbacher</name>
</author>
<published>2018-06-04T12:45:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6382a3505d289ec2df55a822f1fd72d9a72d256'/>
<id>urn:sha1:d6382a3505d289ec2df55a822f1fd72d9a72d256</id>
<content type='text'>
First, change the sanity check in gfs2_stuffed_write_end to check for
the actual write size instead of the requested write size.

Second, use the existing teardown code in gfs2_write_end instead of
duplicating it in gfs2_stuffed_write_end.

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>GFS2: Fix allocation error bug with recursive rgrp glocking</title>
<updated>2018-06-04T12:33:17Z</updated>
<author>
<name>Andreas Gruenbacher</name>
</author>
<published>2018-05-31T12:20:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b5747f43f4dd8dce57e686ca4372825bd67c258'/>
<id>urn:sha1:7b5747f43f4dd8dce57e686ca4372825bd67c258</id>
<content type='text'>
Before this patch function gfs2_write_begin, upon discovering an
error, called gfs2_trim_blocks while the rgrp glock was still held.
That's because gfs2_inplace_release is not called until later.
This patch reorganizes the logic a bit so gfs2_inplace_release
is called to release the lock prior to the call to gfs2_trim_blocks,
thus preventing the glock recursion.

Signed-off-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>GFS2: Only set PageChecked for jdata pages</title>
<updated>2018-03-08T16:26:20Z</updated>
<author>
<name>Bob Peterson</name>
</author>
<published>2018-02-14T16:32:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9e03f1861d8ee117aebb40e5d975cf355879405'/>
<id>urn:sha1:b9e03f1861d8ee117aebb40e5d975cf355879405</id>
<content type='text'>
Before this patch, GFS2 was setting the PageChecked flag for ordered
write pages. This is unnecessary. The ext3 file system only does it
for jdata, and it's only used in jdata circumstances. It only muddies
the already murky waters of writing pages in the aops.

Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
</content>
</entry>
<entry>
<title>GFS2: Log the reason for log flushes in every log header</title>
<updated>2018-01-23T14:39:20Z</updated>
<author>
<name>Bob Peterson</name>
</author>
<published>2018-01-08T15:34:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=805c090750a315c5443c14e06304e19a01c697a0'/>
<id>urn:sha1:805c090750a315c5443c14e06304e19a01c697a0</id>
<content type='text'>
This patch just adds the capability for GFS2 to track which function
called gfs2_log_flush. This should make it easier to diagnose
problems based on the sequence of events found in the journals.

Signed-off-by: Bob Peterson &lt;rpeterso@redhat.com&gt;
Reviewed-by: Andreas Gruenbacher &lt;agruenba@redhat.com&gt;
</content>
</entry>
</feed>
