<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/fs/ocfs2/ioctl.c, branch v3.4.62</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.4.62</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.4.62'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2012-03-31T20:03:15+00:00</updated>
<entry>
<title>get rid of pointless includes of ext2_fs.h</title>
<updated>2012-03-31T20:03:15+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2012-03-23T20:04:05+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2f99c36986ff27a86f06f27212c5f5fa8c7164a3'/>
<id>urn:sha1:2f99c36986ff27a86f06f27212c5f5fa8c7164a3</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: mnt_drop_write_file()</title>
<updated>2012-01-04T03:52:40+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2011-12-09T13:06:57+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2a79f17e4a641a2f463cb512cb0ec349844a147b'/>
<id>urn:sha1:2a79f17e4a641a2f463cb512cb0ec349844a147b</id>
<content type='text'>
new helper (wrapper around mnt_drop_write()) to be used in pair with
mnt_want_write_file().

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>switch a bunch of places to mnt_want_write_file()</title>
<updated>2012-01-04T03:52:35+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2011-11-23T16:57:51+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a561be7100cd610bd2e082f3211c1dfb45835817'/>
<id>urn:sha1:a561be7100cd610bd2e082f3211c1dfb45835817</id>
<content type='text'>
it's both faster (in case when file has been opened for write) and cleaner.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ocfs2: Commit transactions in error cases -v2</title>
<updated>2011-11-17T09:46:47+00:00</updated>
<author>
<name>Wengang Wang</name>
<email>wen.gang.wang@oracle.com</email>
</author>
<published>2011-10-12T07:22:15+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b8a0ae579fb8d9b21008ac386be08b9428902455'/>
<id>urn:sha1:b8a0ae579fb8d9b21008ac386be08b9428902455</id>
<content type='text'>
There are three cases found that in error cases, journal transactions are not
committed nor aborted. We should take care of these case by committing the
transactions. Otherwise, there would left a journal handle which will lead to
, in same process context, the comming ocfs2_start_trans() gets wrong credits.

Signed-off-by: Wengang Wang &lt;wen.gang.wang@oracle.com&gt;
Signed-off-by: Joel Becker &lt;jlbec@evilplan.org&gt;
</content>
</entry>
<entry>
<title>ocfs2: null deref on allocation error</title>
<updated>2011-06-01T02:03:45+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2011-05-29T19:57:16+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=87f0d5c8db7aad85b9120c26723fdc63cd84a460'/>
<id>urn:sha1:87f0d5c8db7aad85b9120c26723fdc63cd84a460</id>
<content type='text'>
The original code had a null derefence in the error handling.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Joel Becker &lt;jlbec@evilplan.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'move_extents' of git://oss.oracle.com/git/tye/linux-2.6 into ocfs2-merge-window</title>
<updated>2011-05-26T04:51:55+00:00</updated>
<author>
<name>Joel Becker</name>
<email>jlbec@evilplan.org</email>
</author>
<published>2011-05-26T04:51:55+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=ece928df16494becd43f999aff9bd530182e7e81'/>
<id>urn:sha1:ece928df16494becd43f999aff9bd530182e7e81</id>
<content type='text'>
Conflicts:
	fs/ocfs2/ioctl.c
</content>
</entry>
<entry>
<title>Ocfs2/move_extents: move/defrag extents within a certain range.</title>
<updated>2011-05-25T07:17:12+00:00</updated>
<author>
<name>Tristan Ye</name>
<email>tristan.ye@oracle.com</email>
</author>
<published>2011-05-25T06:23:43+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=53069d4e76954e2e63c1b3c501051c6fbcf7298c'/>
<id>urn:sha1:53069d4e76954e2e63c1b3c501051c6fbcf7298c</id>
<content type='text'>
the basic logic of moving extents for a file is pretty like punching-hole
sequence, walk the extents within the range as user specified, calculating
an appropriate len to defrag/move, then let ocfs2_defrag/move_extent() to
do the actual moving.

This func ends up setting 'OCFS2_MOVE_EXT_FL_COMPLETE' to userpace if operation
gets done successfully.

Signed-off-by: Tristan Ye &lt;tristan.ye@oracle.com&gt;
</content>
</entry>
<entry>
<title>Ocfs2: Add a new code 'OCFS2_INFO_FREEFRAG' for o2info ioctl.</title>
<updated>2011-05-25T04:18:07+00:00</updated>
<author>
<name>Tristan Ye</name>
<email>tristan.ye@oracle.com</email>
</author>
<published>2011-05-24T07:27:17+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d24a10b9f8ed548981696cd36e2b4f16e6f360b1'/>
<id>urn:sha1:d24a10b9f8ed548981696cd36e2b4f16e6f360b1</id>
<content type='text'>
This new code is a bit more complicated than former ones, the goal is to
show user all statistics required to take a deep insight into filesystem
on how the disk is being fragmentaed.

The goal is achieved by scaning global bitmap from (cluster)group to group
to figure out following factors in the filesystem:

        - How many free chunks in a fixed size as user requested.
        - How many real free chunks in all size.
        - Min/Max/Avg size(in) clusters of free chunks.
        - How do free chunks distribute(in size) in terms of a histogram,
          just like following:
          ---------------------------------------------------------
          Extent Size Range :  Free extents  Free Clusters  Percent
             32K...   64K-  :             1             1    0.00%
              1M...    2M-  :             9           288    0.03%
              8M...   16M-  :             2           831    0.09%
             32M...   64M-  :             1          2047    0.23%
            128M...  256M-  :             1          8191    0.92%
            256M...  512M-  :             2         21706    2.43%
            512M... 1024M-  :            27        858623   96.29%
          ---------------------------------------------------------

Userspace ioctl() call eventually gets the above info returned by passing
a 'struct ocfs2_info_freefrag' with the chunk_size being specified first.

Signed-off-by: Tristan Ye &lt;tristan.ye@oracle.com&gt;
</content>
</entry>
<entry>
<title>Ocfs2: Add a new code 'OCFS2_INFO_FREEINODE' for o2info ioctl.</title>
<updated>2011-05-25T04:18:02+00:00</updated>
<author>
<name>Tristan Ye</name>
<email>tristan.ye@oracle.com</email>
</author>
<published>2011-05-24T07:25:54+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3e5db17d4da7f45c454940096d9e429cca12ef9f'/>
<id>urn:sha1:3e5db17d4da7f45c454940096d9e429cca12ef9f</id>
<content type='text'>
The new code is dedicated to calculate free inodes number of all inode_allocs,
then return the info to userpace in terms of an array.

Specially, flag 'OCFS2_INFO_FL_NON_COHERENT', manipulated by '--cluster-coherent'
from userspace, is now going to be involved. setting the flag on means no cluster
coherency considered, usually, userspace tools choose none-coherency strategy by
default for the sake of performace.

Signed-off-by: Tristan Ye &lt;tristan.ye@oracle.com&gt;
</content>
</entry>
<entry>
<title>Ocfs2: Using inline funcs to set/clear *FILLED* flags in info handler.</title>
<updated>2011-05-25T04:17:18+00:00</updated>
<author>
<name>Tristan Ye</name>
<email>tristan.ye@oracle.com</email>
</author>
<published>2011-05-24T07:22:59+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=8aa1fa360d0e2b31891f180d8b8e0f8d38f9243c'/>
<id>urn:sha1:8aa1fa360d0e2b31891f180d8b8e0f8d38f9243c</id>
<content type='text'>
It just removes some macros for the sake of typechecking gains.

Signed-off-by: Tristan Ye &lt;tristan.ye@oracle.com&gt;
</content>
</entry>
</feed>
