<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-op-linux/fs/adfs/adfs.h, branch master</title>
<subtitle>Talos™ II Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/talos-op-linux/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-op-linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/'/>
<updated>2020-01-21T01:12:42+00:00</updated>
<entry>
<title>fs/adfs: mostly divorse inode number from indirect disc address</title>
<updated>2020-01-21T01:12:42+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@armlinux.org.uk</email>
</author>
<published>2019-12-09T11:11:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=25e5d4df3b46a345dccc0a07f998ce443077b4ff'/>
<id>urn:sha1:25e5d4df3b46a345dccc0a07f998ce443077b4ff</id>
<content type='text'>
Avoid using the inode number as the indirect disc address, even though
these currently have the same value.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs/adfs: newdir: split out directory commit from update</title>
<updated>2020-01-21T01:12:42+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@armlinux.org.uk</email>
</author>
<published>2019-12-09T11:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=aacc954c1be8910a994e09a8f8757a2e3e231c37'/>
<id>urn:sha1:aacc954c1be8910a994e09a8f8757a2e3e231c37</id>
<content type='text'>
After changing a directory, we need to update the sequence numbers and
calculate the new check byte before the directory is scheduled to be
written back to the media.  Since this needs to happen for any change
to the directory, move this into a separate method.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs/adfs: dir: use pointers to access directory head/tails</title>
<updated>2020-01-21T01:12:41+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@armlinux.org.uk</email>
</author>
<published>2019-12-09T11:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=016936b32131d0b33328d8c109f83fabb56618a3'/>
<id>urn:sha1:016936b32131d0b33328d8c109f83fabb56618a3</id>
<content type='text'>
Add and use pointers in the adfs_dir structure to access the directory
head and tail structures, which will always be contiguous in a buffer.
This allows us to avoid memcpy()ing the data in the new directory code,
making it slightly more efficient.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs/adfs: dir: add more efficient iterate() per-format method</title>
<updated>2020-01-21T01:12:41+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@armlinux.org.uk</email>
</author>
<published>2019-12-09T11:10:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=4287e4deb1280633ffbda608f946d6d7c2d76d4a'/>
<id>urn:sha1:4287e4deb1280633ffbda608f946d6d7c2d76d4a</id>
<content type='text'>
Rather than using setpos + getnext to iterate through the directory
entries, pass iterate() down to the dir format code to populate the
dirents.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs/adfs: dir: add generic directory reading</title>
<updated>2020-01-21T01:12:41+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@armlinux.org.uk</email>
</author>
<published>2019-12-09T11:09:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=419a6e5e82ca0bdba0cc3624d969b65ae49d959b'/>
<id>urn:sha1:419a6e5e82ca0bdba0cc3624d969b65ae49d959b</id>
<content type='text'>
Both directory formats code the mechanics of fetching the directory
buffers using their own implementations.  Consolidate these into one
implementation.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs/adfs: dir: add generic copy functions</title>
<updated>2020-01-21T01:12:41+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@armlinux.org.uk</email>
</author>
<published>2019-12-09T11:09:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=a317120bf7f8306b594ee650ee14f08a0e599602'/>
<id>urn:sha1:a317120bf7f8306b594ee650ee14f08a0e599602</id>
<content type='text'>
Directories can span multiple buffers, and we currently open-code
memcpy access to these buffers, including dealing with entries that
are split across multiple buffers.  Such code exists in both
directory format implementations.

Provide common functions to allow data to be copied from/to the
directory buffers as if they were a contiguous set of buffers, and
use them when accessing directories.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs/adfs: dir: add common directory sync method</title>
<updated>2020-01-21T01:12:41+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@armlinux.org.uk</email>
</author>
<published>2019-12-09T11:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=acf5f0be8a520c02bfed74cfc6735bf5fdd4a9e5'/>
<id>urn:sha1:acf5f0be8a520c02bfed74cfc6735bf5fdd4a9e5</id>
<content type='text'>
adfs_fplus_sync() can be used for both directory formats since we now
have a common way to access the buffer heads, so move it into dir.c
and appropriately rename it.  Remove the directory-format specific
implementations.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs/adfs: dir: add common directory buffer release method</title>
<updated>2020-01-21T01:12:41+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@armlinux.org.uk</email>
</author>
<published>2019-12-09T11:09:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=1dd9f5babfd95fea5a77b27bab48c04c29db1f5f'/>
<id>urn:sha1:1dd9f5babfd95fea5a77b27bab48c04c29db1f5f</id>
<content type='text'>
With the bhs pointer in place, we have no need for separate per-format
free() methods, since a generic version will do.  Provide a generic
implementation, remove the format specific implementations and the
method function pointer.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs/adfs: dir: rename bh_fplus to bhs</title>
<updated>2020-01-21T01:12:40+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@armlinux.org.uk</email>
</author>
<published>2019-12-09T11:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=71b2612776c1b9c34c460f79bcdaef46d0e77ed2'/>
<id>urn:sha1:71b2612776c1b9c34c460f79bcdaef46d0e77ed2</id>
<content type='text'>
Rename bh_fplus to bhs in preparation to make some of the directory
handling code sharable between implementations.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs/adfs: map: factor out map cleanup</title>
<updated>2020-01-21T01:12:40+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@armlinux.org.uk</email>
</author>
<published>2019-12-09T11:08:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=7b1952676256d2cdc03d0415a4c0e6bfb64e00ff'/>
<id>urn:sha1:7b1952676256d2cdc03d0415a4c0e6bfb64e00ff</id>
<content type='text'>
We have several places which deal with releasing the map buffers and
freeing the map array.  Provide a helper for this.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
</feed>
