<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nilfs2/dat.c, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-03-14T01:29:51Z</updated>
<entry>
<title>nilfs2: fix various typos in comments</title>
<updated>2010-03-14T01:29:51Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2010-03-13T18:32:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a65004bbaa6a21a0438aac9c64814e46084dc3f'/>
<id>urn:sha1:7a65004bbaa6a21a0438aac9c64814e46084dc3f</id>
<content type='text'>
This fixes various typos I found in comments of nilfs2.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: delete unnecessary condition in nilfs_dat_translate</title>
<updated>2010-02-13T03:26:03Z</updated>
<author>
<name>Jiro SEKIBA</name>
</author>
<published>2010-02-05T14:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=086d1764b22bb2d9d79bb8e2198927acf028d732'/>
<id>urn:sha1:086d1764b22bb2d9d79bb8e2198927acf028d732</id>
<content type='text'>
This is a trivial patch to delete unnecessary condition in nilfs_dat_translate.

nilfs_dat_translate() will asign translated address to *blocknrp if blocknrp
is not NULL.  However the condition is unneeded, because all callers of
nilfs_dat_translate() pass blocknrp properly.

Signed-off-by: Jiro SEKIBA &lt;jir@unicus.jp&gt;
Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: add palloc cache to dat</title>
<updated>2009-11-20T01:05:50Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2009-11-14T07:35:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8908b2f70b795299d21706b5a97676cfe7f9056a'/>
<id>urn:sha1:8908b2f70b795299d21706b5a97676cfe7f9056a</id>
<content type='text'>
This adds the palloc cache to DAT file.  The palloc cache is allocated
on the extended region of nilfs_mdt_info struct.  The struct
nilfs_dat_info defines the extended on memory structure of DAT.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: separate read method of meta data files on super root block</title>
<updated>2009-11-20T01:05:48Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2009-11-12T16:36:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8707df38478c8e0958b706f0ea1cdf99d00a9469'/>
<id>urn:sha1:8707df38478c8e0958b706f0ea1cdf99d00a9469</id>
<content type='text'>
Will displace nilfs_mdt_read_inode_direct function with an individual
read method: nilfs_dat_read, nilfs_sufile_read, nilfs_cpfile_read.

This provides the opportunity to initialize local variables of each
metadata file after reading the inode.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: separate constructor of metadata files</title>
<updated>2009-11-20T01:05:48Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2009-11-12T14:56:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79739565e15f2adbc482207a0800fc127c84d1a0'/>
<id>urn:sha1:79739565e15f2adbc482207a0800fc127c84d1a0</id>
<content type='text'>
This will displace nilfs_mdt_new() constructor with individual
metadata file constructors like nilfs_dat_new(), new_sufile_new(),
nilfs_cpfile_new(), and nilfs_ifile_new().

This makes it possible for each metadata file to have own
intialization code.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: add update functions of virtual block address to dat</title>
<updated>2009-09-14T09:27:15Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2009-08-15T08:22:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd8169efae8bdd292675c386010f6b35f0771057'/>
<id>urn:sha1:bd8169efae8bdd292675c386010f6b35f0771057</id>
<content type='text'>
This is a preparation for the successive cleanup ("nilfs2: allow btree
to directly call dat operations").

This adds functions bundling a few operations to change an entry of
virtual block address on the dat file.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: remove nilfs_dat_abort_start and nilfs_dat_abort_free</title>
<updated>2009-09-14T09:27:15Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2009-08-14T14:39:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ead98637300dc7caefd904bbe1e092bf4d21f87'/>
<id>urn:sha1:9ead98637300dc7caefd904bbe1e092bf4d21f87</id>
<content type='text'>
These functions are not called from any functions.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: fix incorrect KERN_CRIT messages in case of write failures</title>
<updated>2009-07-05T01:44:20Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2009-06-18T14:53:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a52df779700080de4afb0436d9dd9188514a69b'/>
<id>urn:sha1:4a52df779700080de4afb0436d9dd9188514a69b</id>
<content type='text'>
In case of write-failure retries, the following KERN_CRIT level
messages are mistakenly output by nilfs_dat_commit_start() function:

nilfs_dat_commit_start: vbn = 408463, start = 12506, end = 18446744073709551615, pbn = 530210
nilfs_dat_commit_start: vbn = 408515, start = 12506, end = 18446744073709551615, pbn = 530211
nilfs_dat_commit_start: vbn = 408464, start = 12506, end = 18446744073709551615, pbn = 530212
...

This suppresses these messages.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
Cc: stable@kernel.org
</content>
</entry>
<entry>
<title>nilfs2: allow future expansion of metadata read out via get info ioctl</title>
<updated>2009-06-10T14:41:11Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2009-05-11T18:58:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=003ff182fddde09ddfb8d079bbdb02f9d2122082'/>
<id>urn:sha1:003ff182fddde09ddfb8d079bbdb02f9d2122082</id>
<content type='text'>
Nilfs has some ioctl commands to read out metadata from meta data
files:

 - NILFS_IOCTL_GET_CPINFO for checkpoint file,
 - NILFS_IOCTL_GET_SUINFO for segment usage file, and
 - NILFS_IOCTL_GET_VINFO for Disk Address Transalation (DAT) file,
   respectively.

Every routine on these metadata files is implemented so that it allows
future expansion of on-disk format.  But, the above ioctl commands do
not support expansion even though nilfs_argv structure can handle
arbitrary size for data exchanged via ioctl.

This allows future expansion of the following structures which give
basic format of the "get information" ioctls:

 - struct nilfs_cpinfo
 - struct nilfs_suinfo
 - struct nilfs_vinfo

So, this introduces forward compatility of such ioctl commands.

In this patch, a sanity check in nilfs_ioctl_get_info() function is
changed to accept larger data structure [1], and metadata read
routines are rewritten so that they become compatible for larger
structures; the routines will just ignore the remaining fields which
the current version of nilfs doesn't know.

[1] The ioctl function already has another upper limit (PAGE_SIZE
    against a structure, which appears in nilfs_ioctl_wrap_copy
    function), and this will not cause security problem.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
<entry>
<title>nilfs2: remove nilfs_dat_prepare_free function</title>
<updated>2009-06-10T14:41:09Z</updated>
<author>
<name>Ryusuke Konishi</name>
</author>
<published>2009-04-28T15:53:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=65822070646ed7f2cf520439006dd863529be16e'/>
<id>urn:sha1:65822070646ed7f2cf520439006dd863529be16e</id>
<content type='text'>
This function is unused.

Signed-off-by: Ryusuke Konishi &lt;konishi.ryusuke@lab.ntt.co.jp&gt;
</content>
</entry>
</feed>
