<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/jfs/resize.c, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-02-09T17:57:22Z</updated>
<entry>
<title>jfs: atomically read inode size</title>
<updated>2017-02-09T17:57:22Z</updated>
<author>
<name>Fabian Frederick</name>
</author>
<published>2017-01-23T17:50:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=684666e51585f3b136a3f505f8173d7580bc52cd'/>
<id>urn:sha1:684666e51585f3b136a3f505f8173d7580bc52cd</id>
<content type='text'>
See i_size_read() comments in include/linux/fs.h

Signed-off-by: Fabian Frederick &lt;fabf@skynet.be&gt;
Signed-off-by: Dave Kleikamp &lt;dave.kleikamp@oracle.com&gt;
</content>
</entry>
<entry>
<title>jfs: jump to error_out when filemap_{fdatawait, write_and_wait} fails</title>
<updated>2016-08-29T20:51:39Z</updated>
<author>
<name>Quorum Laval</name>
</author>
<published>2016-08-26T14:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7cfcd8b79ab2472102d9229863e86ff208f959d4'/>
<id>urn:sha1:7cfcd8b79ab2472102d9229863e86ff208f959d4</id>
<content type='text'>
filemap_fdatawait/filemap_write_and_wait may fail, so check the return
value and jump to error_out in the case of error.

Signed-off-by: Quorum Laval &lt;quorum.laval@gmail.com&gt;
Signed-off-by: Dave Kleikamp &lt;dave.kleikamp@oracle.com&gt;
</content>
</entry>
<entry>
<title>jfs: Update jfs_error</title>
<updated>2013-06-05T19:47:19Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2013-06-04T23:39:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb8630d7d2fd13589e6a7a3ae2fe1f75f867fbed'/>
<id>urn:sha1:eb8630d7d2fd13589e6a7a3ae2fe1f75f867fbed</id>
<content type='text'>
Use a more current logging style.

Add __printf format and argument verification.

Remove embedded function names from formats.
Add %pf, __builtin_return_address(0) to jfs_error.
Add newlines to formats for kernel style consistency.
(One format already had an erroneous newline)
Coalesce formats and align arguments.

Object size reduced ~1KiB.

$ size fs/jfs/built-in.o*
   text	   data	    bss	    dec	    hex	filename
 201891	  35488	  63936	 301315	  49903	fs/jfs/built-in.o.new
 202821	  35488	  64192	 302501	  49da5	fs/jfs/built-in.o.old

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Dave Kleikamp &lt;dave.kleikamp@oracle.com&gt;
</content>
</entry>
<entry>
<title>jfs: old_agsize should be 64 bits in jfs_extendfs</title>
<updated>2011-06-20T15:30:04Z</updated>
<author>
<name>Dave Kleikamp</name>
</author>
<published>2011-06-20T15:30:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=206b6310fd0268a6ca50cf36f03b0f4eee5602ec'/>
<id>urn:sha1:206b6310fd0268a6ca50cf36f03b0f4eee5602ec</id>
<content type='text'>
Signed-off-by: Dave Kleikamp &lt;dave.kleikamp@oracle.com&gt;
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23Z</updated>
<author>
<name>Lucas De Marchi</name>
</author>
<published>2011-03-31T01:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>urn:sha1:25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>jfs: fix diAllocExt error in resizing filesystem</title>
<updated>2010-04-16T13:01:20Z</updated>
<author>
<name>Bill Pemberton</name>
</author>
<published>2010-04-16T13:01:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b0b39517d1af5294128dbc2fd7ed39c8effa540'/>
<id>urn:sha1:2b0b39517d1af5294128dbc2fd7ed39c8effa540</id>
<content type='text'>
Resizing the filesystem would result in an diAllocExt error in some
instances because changes in bmp-&gt;db_agsize would not get noticed if
goto extendBmap was called.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Signed-off-by: Dave Kleikamp &lt;shaggy@linux.vnet.ibm.com&gt;
Cc: jfs-discussion@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
</content>
</entry>
<entry>
<title>JFS: use DIV_ROUND_UP where appropriate</title>
<updated>2008-01-03T19:11:59Z</updated>
<author>
<name>Shaun Zinck</name>
</author>
<published>2007-08-31T17:57:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7fe0ba7eee4f7c53077ff2bed2b581db17d00df'/>
<id>urn:sha1:a7fe0ba7eee4f7c53077ff2bed2b581db17d00df</id>
<content type='text'>
This replaces some macros and code, which do the same thing as DIV_ROUND_UP
defined in kernel.h, to use the DIV_ROUND_UP macro.

Signed-off-by: Shaun Zinck &lt;shaun.zinck@gmail.com&gt;
Signed-off-by: Dave Kleikamp &lt;shaggy@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>JFS: Whitespace cleanup and remove some dead code</title>
<updated>2007-06-06T20:28:35Z</updated>
<author>
<name>Dave Kleikamp</name>
</author>
<published>2007-06-06T20:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f720e3ba558680cc7dd3995d005bdc8ee2ef46af'/>
<id>urn:sha1:f720e3ba558680cc7dd3995d005bdc8ee2ef46af</id>
<content type='text'>
Signed-off-by: Dave Kleikamp &lt;shaggy@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>JFS: White space cleanup</title>
<updated>2006-10-02T14:55:27Z</updated>
<author>
<name>Dave Kleikamp</name>
</author>
<published>2006-10-02T14:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63f83c9fcf40ab61b75edf5d2f2c1ae6bf876482'/>
<id>urn:sha1:63f83c9fcf40ab61b75edf5d2f2c1ae6bf876482</id>
<content type='text'>
Removed trailing spaces &amp; tabs, and spaces preceding tabs.
Also a couple very minor comment cleanups.

Signed-off-by: Dave Kleikamp &lt;shaggy@austin.ibm.com&gt;
(cherry picked from f74156539964d7b3d5164fdf8848e6a682f75b97 commit)
</content>
</entry>
<entry>
<title>[PATCH] Fix and add EXPORT_SYMBOL(filemap_write_and_wait)</title>
<updated>2006-01-09T04:13:47Z</updated>
<author>
<name>OGAWA Hirofumi</name>
</author>
<published>2006-01-08T09:02:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28fd129827b00e12829d48a5290f46277600619b'/>
<id>urn:sha1:28fd129827b00e12829d48a5290f46277600619b</id>
<content type='text'>
This patch add EXPORT_SYMBOL(filemap_write_and_wait) and use it.

See mm/filemap.c:

And changes the filemap_write_and_wait() and filemap_write_and_wait_range().

Current filemap_write_and_wait() doesn't wait if filemap_fdatawrite()
returns error.  However, even if filemap_fdatawrite() returned an
error, it may have submitted the partially data pages to the device.
(e.g. in the case of -ENOSPC)

&lt;quotation&gt;
Andrew Morton writes,

If filemap_fdatawrite() returns an error, this might be due to some
I/O problem: dead disk, unplugged cable, etc.  Given the generally
crappy quality of the kernel's handling of such exceptions, there's a
good chance that the filemap_fdatawait() will get stuck in D state
forever.
&lt;/quotation&gt;

So, this patch doesn't wait if filemap_fdatawrite() returns the -EIO.

Trond, could you please review the nfs part?  Especially I'm not sure,
nfs must use the "filemap_fdatawrite(inode-&gt;i_mapping) == 0", or not.

Acked-by: Trond Myklebust &lt;trond.myklebust@fys.uio.no&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
