<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/ocfs2/dir.h, branch linux-5.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-05-30T18:25:18Z</updated>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 145</title>
<updated>2019-05-30T18:25:18Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-05-24T10:04:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=328970de0e39d596e0ef44080e7642224b29ecde'/>
<id>urn:sha1:328970de0e39d596e0ef44080e7642224b29ecde</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without any warranty without even
  the implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this program if not write to the free software foundation inc
  59 temple place suite 330 boston ma 021110 1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 84 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Richard Fontana &lt;rfontana@redhat.com&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Reviewed-by: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190524100844.756442981@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>VFS: normal filesystems (and lustre): d_inode() annotations</title>
<updated>2015-04-15T19:06:57Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2015-03-17T22:25:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b0143b5c986be1ce8408b3aadc4709e0a94429d'/>
<id>urn:sha1:2b0143b5c986be1ce8408b3aadc4709e0a94429d</id>
<content type='text'>
that's the bulk of filesystem drivers dealing with inodes of their own

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[readdir] convert ocfs2</title>
<updated>2013-06-29T08:57:02Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2013-05-23T01:06:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3704412bdbf37ec836152f571ac74fe72220c05a'/>
<id>urn:sha1:3704412bdbf37ec836152f571ac74fe72220c05a</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ocfs2: Introduce dir free space list</title>
<updated>2009-04-03T18:39:16Z</updated>
<author>
<name>Mark Fasheh</name>
</author>
<published>2009-01-30T02:17:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7c17e43090afe558c40bfb66637744c27bd2aeb'/>
<id>urn:sha1:e7c17e43090afe558c40bfb66637744c27bd2aeb</id>
<content type='text'>
The only operation which doesn't get faster with directory indexing is
insert, which still has to walk the entire unindexed directory portion to
find a free block. This patch provides an improvement in directory insert
performance by maintaining a singly linked list of directory leaf blocks
which have space for additional dirents.

Signed-off-by: Mark Fasheh &lt;mfasheh@suse.com&gt;
Acked-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
<entry>
<title>ocfs2: Store dir index records inline</title>
<updated>2009-04-03T18:39:16Z</updated>
<author>
<name>Mark Fasheh</name>
</author>
<published>2008-11-25T01:02:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ed8a6bb083bfcc21f1ed66a474b03c0386e4b34'/>
<id>urn:sha1:4ed8a6bb083bfcc21f1ed66a474b03c0386e4b34</id>
<content type='text'>
Allow us to store a small number of directory index records in the
ocfs2_dx_root_block. This saves us a disk read on small to medium sized
directories (less than about 250 entries). The inline root is automatically
turned into a root block with extents if the directory size increases beyond
it's capacity.

Signed-off-by: Mark Fasheh &lt;mfasheh@suse.com&gt;
Acked-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
<entry>
<title>ocfs2: Add a name indexed b-tree to directory inodes</title>
<updated>2009-04-03T18:39:15Z</updated>
<author>
<name>Mark Fasheh</name>
</author>
<published>2008-11-13T00:27:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b7895efac906d66d19856194e1ba61f37e231a4'/>
<id>urn:sha1:9b7895efac906d66d19856194e1ba61f37e231a4</id>
<content type='text'>
This patch makes use of Ocfs2's flexible btree code to add an additional
tree to directory inodes. The new tree stores an array of small,
fixed-length records in each leaf block. Each record stores a hash value,
and pointer to a block in the traditional (unindexed) directory tree where a
dirent with the given name hash resides. Lookup exclusively uses this tree
to find dirents, thus providing us with constant time name lookups.

Some of the hashing code was copied from ext3. Unfortunately, it has lots of
unfixed checkpatch errors. I left that as-is so that tracking changes would
be easier.

Signed-off-by: Mark Fasheh &lt;mfasheh@suse.com&gt;
Acked-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
<entry>
<title>ocfs2: Introduce dir lookup helper struct</title>
<updated>2009-04-03T18:39:15Z</updated>
<author>
<name>Mark Fasheh</name>
</author>
<published>2008-11-12T23:43:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a12ca3a00a244e1fd1e673d151ea38b71e11d55'/>
<id>urn:sha1:4a12ca3a00a244e1fd1e673d151ea38b71e11d55</id>
<content type='text'>
Many directory manipulation calls pass around a tuple of dirent, and it's
containing buffer_head. Dir indexing has a bit more state, but instead of
adding yet more arguments to functions, we introduce 'struct
ocfs2_dir_lookup_result'. In this patch, it simply holds the same tuple, but
future patches will add more state.

Signed-off-by: Mark Fasheh &lt;mfasheh@suse.com&gt;
Acked-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
<entry>
<title>ocfs2: Checksum and ECC for directory blocks.</title>
<updated>2009-01-05T16:40:34Z</updated>
<author>
<name>Joel Becker</name>
</author>
<published>2008-12-11T01:58:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c175a518b4a1d514483abf61813ce5d855917164'/>
<id>urn:sha1:c175a518b4a1d514483abf61813ce5d855917164</id>
<content type='text'>
Use the db_check field of ocfs2_dir_block_trailer to crc/ecc the
dirblocks.

Signed-off-by: Joel Becker &lt;joel.becker@oracle.com&gt;
Signed-off-by: Mark Fasheh &lt;mfasheh@suse.com&gt;
</content>
</entry>
<entry>
<title>ocfs2: Rename cleanups</title>
<updated>2007-10-12T18:54:38Z</updated>
<author>
<name>Mark Fasheh</name>
</author>
<published>2007-09-12T00:21:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38760e243249f03b4c6d78ca624dd846a2681b67'/>
<id>urn:sha1:38760e243249f03b4c6d78ca624dd846a2681b67</id>
<content type='text'>
ocfs2_rename() does direct manipulation of the dirent it's gotten back from
a directory search. Wrap this manipulation inside of a function so that we
can transparently change directory update behavior in the future. As an
added bonus, this gets rid of an ugly macro.

Signed-off-by: Mark Fasheh &lt;mark.fasheh@oracle.com&gt;
Reviewed-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
<entry>
<title>ocfs2: Provide convenience function for ino lookup</title>
<updated>2007-10-12T18:54:38Z</updated>
<author>
<name>Mark Fasheh</name>
</author>
<published>2007-09-11T22:22:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be94d11704ef79030fd2e6a0c41b4a7f65f9e860'/>
<id>urn:sha1:be94d11704ef79030fd2e6a0c41b4a7f65f9e860</id>
<content type='text'>
A couple paths which needed to just match a parent dir + name pair to an
inode number were a bit messy because they had to deal with
ocfs2_find_files_on_disk() which returns a larger number of values. Provide
a convenience function, ocfs2_lookup_ino_from_name() which internalizes all
the extra accounting.

Signed-off-by: Mark Fasheh &lt;mark.fasheh@oracle.com&gt;
Reviewed-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
</feed>
