<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.file-systems.nilfs.user">
    <title>gmane.comp.file-systems.nilfs.user</title>
    <link>http://blog.gmane.org/gmane.comp.file-systems.nilfs.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2356"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2355"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2354"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2353"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2352"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2351"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2350"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2349"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2348"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2347"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2346"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2345"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2344"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2343"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2342"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2341"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2340"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2339"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2338"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2337"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2356">
    <title>Re: [PATCH 1/1] nilfs2: add omitted comment for ns_mount_state field of the_nilfs structure</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2356</link>
    <description>&lt;pre&gt;
Thanks.  I will pick it up.

Ryusuke Konishi

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Ryusuke Konishi</dc:creator>
    <dc:date>2012-05-23T13:22:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2355">
    <title>[PATCH 1/1] nilfs2: add omitted comment for ns_mount_state field of the_nilfs structure</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2355</link>
    <description>&lt;pre&gt;Hi,

I found that ns_mount_state field doesn't commented in the_nilfs
structure. I simply add comment for ns_mount_state field.

With the best regards,
Vyacheslav Dubeyko.
--
From: Vyacheslav Dubeyko &amp;lt;slava-yeENwD64cLxBDgjK7y7TUQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
Subject: [PATCH 1/1] nilfs2: add omitted comment for ns_mount_state
field of the_nilfs structure

This patch adds omitted comment for ns_mount_state field of the_nilfs
structure.

Signed-off-by: Vyacheslav Dubeyko &amp;lt;slava-yeENwD64cLxBDgjK7y7TUQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
diff --git a/fs/nilfs2/the_nilfs.h b/fs/nilfs2/the_nilfs.h
index 1a588a3..7885bdb 100644
--- a/fs/nilfs2/the_nilfs.h
+++ b/fs/nilfs2/the_nilfs.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -53,6 +53,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; enum {
  * &amp;lt; at &amp;gt;ns_sbwtime: previous write time of super block
  * &amp;lt; at &amp;gt;ns_sbwcount: write count of super block
  * &amp;lt; at &amp;gt;ns_sbsize: size of valid data in super block
+ * &amp;lt; at &amp;gt;ns_mount_state: file system state
  * &amp;lt; at &amp;gt;ns_seg_seq: segment sequence counter
  * &amp;lt; at &amp;gt;ns_segnum: index number of the latest full segment.
  * &amp;lt; at &amp;gt;ns_nextnum: index number of the full segment index to be used next
--


--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Vyacheslav Dubeyko</dc:creator>
    <dc:date>2012-05-22T14:25:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2354">
    <title>Re: [NILFS2 design doc] draft of the on-disk layout description paragraph</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2354</link>
    <description>&lt;pre&gt;Hi Vyacheslav,

On Sun, May 20, 2012 at 06:23:29PM +0400, Vyacheslav Dubeyko wrote:

Looks good. The byte code examples i'd leave out; they are confusing. Maybe as
an edditional part?

Cheers,
Reinoud

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Reinoud Zandijk</dc:creator>
    <dc:date>2012-05-20T15:50:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2353">
    <title>Re: [NILFS2 design doc] draft of the on-disk layout description paragraph</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2353</link>
    <description>&lt;pre&gt;Hi Reinoud,

On Sun, 2012-05-20 at 17:50 +0200, Reinoud Zandijk wrote:

Ok. I see. I will think about it and try to rework. Thank you.

With the best regards,
Vyacheslav Dubeyko.

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Vyacheslav Dubeyko</dc:creator>
    <dc:date>2012-05-21T05:36:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2352">
    <title>[NILFS2 design doc] draft of the on-disk layout description paragraph</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2352</link>
    <description>&lt;pre&gt;Hi all,

I am working on NILFS2 design doc now. Currently, I elaborated draft of the on-disk layout description paragraph. You can download draft of the design document from here: http://dubeyko.com/development/FileSystems/NILFS/nilfs2-design.pdf.

Could you please review the draft of the on-disk layout description paragraph and point out any misunderstandings or misspellings? Thank you in advance.

With the best regards,
Vyacheslav Dubeyko.--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Vyacheslav Dubeyko</dc:creator>
    <dc:date>2012-05-20T14:23:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2351">
    <title>Streaming Service</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2351</link>
    <description>&lt;pre&gt;Our Streaming Server is powerful and optimized server for live and on-demand audio/ video streaming content delivery. 
Our Streaming Server features with high performance streaming throughput, network &amp;amp; storage I/O and optimized configurations for its high scalability and reliability.
Our server supports latest Windows Media Technologies such as Fast Streaming, Fast Cache, Fast Start, Wireless Streaming as well as feature-rich add-on modules such as sophisticated content management, monitoring, logging reports, billing, authentications, load-balancing &amp;amp; clustering for all needs. 

Pls send us email for further information.Thanks,

Boris 
boris-JYBpPTDdvJEqwVFMiTZqHLZc9IWuHzk0&amp;lt; at &amp;gt;public.gmane.org

If you do not wish to further receive this event message, email "borislamsv2-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org" to unsubscribe this message or remove your email from the list.


--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>boris-JYBpPTDdvJEqwVFMiTZqHLZc9IWuHzk0&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-15T19:35:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2350">
    <title>haalloo,</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2350</link>
    <description>&lt;pre&gt;haalloo,
how are you doing,i hope you are fine,my name is miss abi okom i got your
contact and want us to be a good friend,
please try and write back to me so that i will give you my pictures and tell
you more about me,
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>abi</dc:creator>
    <dc:date>2012-05-12T17:06:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2349">
    <title>Re: Small device</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2349</link>
    <description>&lt;pre&gt;Using "-b 1024 -B 512", we would get 512 blocks per segment: (1024*512)
/ 1024

Then, what about to use "-B" to 1024 or to 2048 ? So there were lesser
number of full segments in the device.
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Zeke Rondel</dc:creator>
    <dc:date>2012-05-10T18:01:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2348">
    <title>Re: Small device</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2348</link>
    <description>&lt;pre&gt;Hi,
On Thu, 10 May 2012 00:33:30 +0100, Zeke Rondel wrote:

Basically NILFS is not designed for small devices.  Its most on-disk
data items have 64-bit width.  In addition, it's more likely to suffer
from disk full on such devices due to the copy-on-write nature.

However, I guess you can use NILFS on 64MB SD card by formatting the
device with a smaller block size and a smaller number of blocks per
segment.

My mkfs format parameter for a 64MB sized device is as follows:

$ mkfs -t nilfs2 -b 1024 -B 512 &amp;lt;device&amp;gt;


We may get more disk space overhead for much smaller "blocks per
segment" because every segment of NILFS needs at least one header
block.


Regards,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Ryusuke Konishi</dc:creator>
    <dc:date>2012-05-10T15:42:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2347">
    <title>Re: fsck.nilfs2: not found</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2347</link>
    <description>&lt;pre&gt;hi
I am trying to test xfstests on nilfs.During this i got this error
fsck.nilfs2 not found.
Is any one tried xfstests for nilfs and facing same problem ?
thanks,
karunakar.

On Wed, May 9, 2012 at 4:51 PM, Vyacheslav Dubeyko &amp;lt;slava-yeENwD64cLxBDgjK7y7TUQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>karunakar merugu</dc:creator>
    <dc:date>2012-05-10T05:45:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2346">
    <title>Small device</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2346</link>
    <description>&lt;pre&gt;Hi,

I've a small memory card (SD) of 64MB used for keys related to crypto.
stuff so I need a log filesystem that avoids the data can be re-written
or modified. Is NILFS suitable in case of little devices? If so, which
size of blocks per segment would be suitable for it? Thanks in advance!
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Zeke Rondel</dc:creator>
    <dc:date>2012-05-09T23:33:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2345">
    <title>Re: fsck.nilfs2: not found</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2345</link>
    <description>&lt;pre&gt;Hi,

Sorry, but as I know fsck tool for NILFS filesystem doesn't implemented yet.

With the best regards,
Vyacheslav Dubeyko.

On May 9, 2012, at 1:16 PM, karunakar merugu wrote:


--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Vyacheslav Dubeyko</dc:creator>
    <dc:date>2012-05-09T11:21:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2344">
    <title>fsck.nilfs2: not found</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2344</link>
    <description>&lt;pre&gt;Hi
I am using Linux karunakar-VirtualBox 3.0.0-12-generic #20-Ubuntu SMP.
I installed nilfs utilities  by
sudo apt-get update
sudo apt-get install nilfs2-tools

Even after this I am getting error like:
fsck from util-linux 2.19.1
fsck: fsck.nilfs2: not found
fsck: Error 2 while executing fsck.nilfs2 for /dev/sdb

can anyone help me in finding the correct package for fsck.nilfs2
utility please.
thanks,
Karunakar.
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>karunakar merugu</dc:creator>
    <dc:date>2012-05-09T09:16:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2343">
    <title>Re: [PATCH 1/1] mkfs.nilfs2: initialize block info array for DAT file by nilfs_binfo_dat structure</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2343</link>
    <description>&lt;pre&gt;
Thanks for the patch.  But, No, the current mkfs implementation is
correct.

nilfs_binfo_dat is the structure storing summary information only
applied to btree intermediate blocks of the DAT meta-data file.

For data blocks of the DAT file, a 64-bit block offset number (__le64)
is allocated per block.

Since mkfs.nilfs2 only allocates data blocks in the initial format and
never allocates btree node blocks, nilfs_binfo_dat structure will not
appear in the tool.

The current kernel module is using the same binfo format.  If this
patch is applied, compatibility of the disk format will be broken.


Regards,
Ryusuke Konishi


--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Ryusuke Konishi</dc:creator>
    <dc:date>2012-05-06T18:29:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2342">
    <title>[PATCH 1/1] mkfs.nilfs2: initialize block info array for DAT file by nilfs_binfo_dat structure</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2342</link>
    <description>&lt;pre&gt;Hello,

I think that I have found obsolete code in mkfs.nilfs2. And I prepare a patch which fixes the bug with block info initialization in segment summary for the case of DAT file.

With the best regards,
Vyacheslav Dubeyko.
--
From: Vyacheslav Dubeyko &amp;lt;slava-yeENwD64cLxBDgjK7y7TUQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
Subject: [PATCH 1/1] mkfs.nilfs2: initialize block info array for DAT file by nilfs_binfo_dat structure

Segment summary block begins from segment summary header (nilfs_segment_summary structure). It follows array of file information items (nilfs_finfo structure) after it. And after each file information item follows array of block information items (nilfs_binfo union). The block information item can be nilfs_binfo_v structure (information for the block to which a virtual block number is assigned) or nilfs_binfo_dat structure (information for the block which belongs to the DAT file).

Current state of mkfs.nilfs2 code initializes block information items as sizeof(__le64) for the DAT file case. But driver code expects greater structure in size because it operates by bi_level field for the case of DAT file. The patch uses nilfs_binfo_dat structure instead of __le64 during creation of block information items for DAT file case.

Signed-off-by: Vyacheslav Dubeyko &amp;lt;slava-yeENwD64cLxBDgjK7y7TUQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
diff -up nilfs-utils/sbin/mkfs/mkfs.c{.orig,} 
--- nilfs-utils/sbin/mkfs/mkfs.c.orig2012-05-04 12:30:58.308461058 +0400
+++ nilfs-utils/sbin/mkfs/mkfs.c2012-05-04 12:32:39.593861721 +0400
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -444,7 +444,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void increment_segsum_size(struct
   unsigned nblocks_in_file, int dat_flag)
 {
 unsigned binfo_size = dat_flag ? 
-sizeof(__le64) /* offset */ : sizeof(struct nilfs_binfo_v);
+sizeof(struct nilfs_binfo_dat) : sizeof(struct nilfs_binfo_v);
 
 si-&amp;gt;sumbytes = __increment_segsum_size(si-&amp;gt;sumbytes,
        sizeof(struct nilfs_finfo), 1);
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1240,13 +1240,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void update_blocknr(struct nilfs_
 finfo-&amp;gt;fi_cno = cpu_to_le64(1);
 
 if (fi-&amp;gt;ino == NILFS_DAT_INO) {
-__le64 *pblkoff;
+struct nilfs_binfo_dat *pbinfo_dat;
 
 fi-&amp;gt;raw_inode-&amp;gt;i_bmap[0] = 0;
 for (i = 0; i &amp;lt; fi-&amp;gt;nblocks; i++) {
-pblkoff = map_segsum_info(start, sum_offset,
-  sizeof(*pblkoff));
-*pblkoff = cpu_to_le64(i);
+pbinfo_dat = map_segsum_info(start, sum_offset,
+  sizeof(*pbinfo_dat));
+pbinfo_dat-&amp;gt;bi_blkoff = cpu_to_le64(i);
 fi-&amp;gt;raw_inode-&amp;gt;i_bmap[i + 1] =
 cpu_to_le64(fi-&amp;gt;start + i);
 }
--

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Vyacheslav Dubeyko</dc:creator>
    <dc:date>2012-05-06T12:06:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2341">
    <title>[PATCH] nilfs2: flush disk caches in syncing</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2341</link>
    <description>&lt;pre&gt;Hi Andrew,

Could you please queue the following patch in the -mm tree ?

I hope this will be sent to upstream at the next merge window through
your tree. (probably only this single change).

Thanks,
Ryusuke Konishi
--
From: Ryusuke Konishi &amp;lt;konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg&amp;lt; at &amp;gt;public.gmane.org&amp;gt;

There are two cases that the cache flush is needed to avoid data loss
against unexpected hang or power failure.  One is sync file function
(i.e. nilfs_sync_file) and another is checkpointing ioctl.

This issues a cache flush request to device for such cases if barrier
mount option is enabled, and makes sure data really is on persistent
storage on their completion.

Signed-off-by: Ryusuke Konishi &amp;lt;konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
---
 fs/nilfs2/file.c  |   24 ++++++++++++++----------
 fs/nilfs2/ioctl.c |    8 +++++++-
 2 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/fs/nilfs2/file.c b/fs/nilfs2/file.c
index 2660152..62cebc8 100644
--- a/fs/nilfs2/file.c
+++ b/fs/nilfs2/file.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -37,6 +37,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int nilfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
  * This function should be implemented when the writeback function
  * will be implemented.
  */
+struct the_nilfs *nilfs;
 struct inode *inode = file-&amp;gt;f_mapping-&amp;gt;host;
 int err;
 
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -45,18 +46,21 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int nilfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
 return err;
 mutex_lock(&amp;amp;inode-&amp;gt;i_mutex);
 
-if (!nilfs_inode_dirty(inode)) {
-mutex_unlock(&amp;amp;inode-&amp;gt;i_mutex);
-return 0;
+if (nilfs_inode_dirty(inode)) {
+if (datasync)
+err = nilfs_construct_dsync_segment(inode-&amp;gt;i_sb, inode,
+    0, LLONG_MAX);
+else
+err = nilfs_construct_segment(inode-&amp;gt;i_sb);
 }
-
-if (datasync)
-err = nilfs_construct_dsync_segment(inode-&amp;gt;i_sb, inode, 0,
-    LLONG_MAX);
-else
-err = nilfs_construct_segment(inode-&amp;gt;i_sb);
-
 mutex_unlock(&amp;amp;inode-&amp;gt;i_mutex);
+
+nilfs = inode-&amp;gt;i_sb-&amp;gt;s_fs_info;
+if (!err &amp;amp;&amp;amp; nilfs_test_opt(nilfs, BARRIER)) {
+err = blkdev_issue_flush(inode-&amp;gt;i_sb-&amp;gt;s_bdev, GFP_KERNEL, NULL);
+if (err != -EIO)
+err = 0;
+}
 return err;
 }
 
diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c
index 2a70fce..06658ca 100644
--- a/fs/nilfs2/ioctl.c
+++ b/fs/nilfs2/ioctl.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -692,8 +692,14 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int nilfs_ioctl_sync(struct inode *inode, struct file *filp,
 if (ret &amp;lt; 0)
 return ret;
 
+nilfs = inode-&amp;gt;i_sb-&amp;gt;s_fs_info;
+if (nilfs_test_opt(nilfs, BARRIER)) {
+ret = blkdev_issue_flush(inode-&amp;gt;i_sb-&amp;gt;s_bdev, GFP_KERNEL, NULL);
+if (ret == -EIO)
+return ret;
+}
+
 if (argp != NULL) {
-nilfs = inode-&amp;gt;i_sb-&amp;gt;s_fs_info;
 down_read(&amp;amp;nilfs-&amp;gt;ns_segctor_sem);
 cno = nilfs-&amp;gt;ns_cno - 1;
 up_read(&amp;amp;nilfs-&amp;gt;ns_segctor_sem);
&lt;/pre&gt;</description>
    <dc:creator>Ryusuke Konishi</dc:creator>
    <dc:date>2012-05-05T15:30:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2340">
    <title>Re: Nilfs2 and Grub2</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2340</link>
    <description>&lt;pre&gt;Hi,

I'm original author of the grub2 NILFS2 module.

Yes, it lacks roll back/forward or recovery to keep the boot loader simple.
It also prevent from unintentional boot, like old buggy kernel is used.

Aside from the way it works, the code itself is capable to boot from
any checkpoints.  It happens to choose the latest one.  The only thing
we need is the way to _choose_ the checkpoint from grub interface :(.

thanks

regards
&lt;/pre&gt;</description>
    <dc:creator>Jiro SEKIBA</dc:creator>
    <dc:date>2012-05-04T05:13:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2339">
    <title>Server Rental Service in Hong Kong</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2339</link>
    <description>&lt;pre&gt;Dear All,

We have our own datacenter in Hong Kong &amp;amp; provide email/application/web rental service to clients.We are APNIC member &amp;amp; provide clean IP to clients.

Dell? PowerEdge? EnterpriseRack Mount Server
-Intel(R) Xeon(R) E3-1240 Processor (3.3GHz, 8M Cache, Turbo, 4C/8T, 80W)
-8GB RAM, 2x4GB, 1333MHz, DDR-3, Dual Ranked UDIMMs
-500GB, 3.5", 6Gbps SAS x 2
-Raid 1 Mirroring Protection
-Remote KVM (iDRAC6 Enterprise)

Dell(TM) PowerEdge(TM) R410 Rack Mount Server
-Intel(R) Quad Core E5606 Xeon(R) CPU, 2.13GHz, 4M Cache, 4.86 GT/s QPI
-4GB Memory (2x2GB), 1333MHz Dual Ranked RDIMMs Fully-Buffered
-500GB 7.2K RPM SATAII 3.5" Hard Drive x 2
-iDRAC6 Enterprise or Express (Remote KVM Management)

Every Dedicated Server Hosting Solution Also Includes: 
 
Software Specification 
- CentOS / Fedora / Debian / FreeBSD / Ubuntu / Redhat Linux 
- Full root-level access 
- Data Center Facilities 
- Shared Local &amp;amp; International Bandwidth 
- 2 IP Addresses Allocation 
- Un-interruptible Power Supply (UPS) backed up by private diesel generator 
- FM200¡§based fire suppression system 
- 24x7 CRAC Air Conditioning and Humidity Control 
- 24x7 Security Control 
- 24x7 Remote Hand Service 

Pls send us email for further information.Thanks,

Boris 
boris-JYBpPTDdvJEqwVFMiTZqHLZc9IWuHzk0&amp;lt; at &amp;gt;public.gmane.org

If you do not wish to further receive this event message, email "borislamsv2-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org" to unsubscribe this message or remove your email from the list.


--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>boris-JYBpPTDdvJEqwVFMiTZqHLZc9IWuHzk0&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-03T18:25:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2338">
    <title>Re: NILFS development contribution</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2338</link>
    <description>&lt;pre&gt;Hi,
On Wed, 25 Apr 2012 11:18:41 +0530, santhosh kumars wrote:

I think one good start is to use "xfstest", an test suites for xfs and
other filesystems.

Thanks,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Ryusuke Konishi</dc:creator>
    <dc:date>2012-05-03T06:59:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2337">
    <title>Re: Nilfs2 and Grub2</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2337</link>
    <description>&lt;pre&gt;Hi,
On Tue, 1 May 2012 03:38:57 -0700 (PDT), Sven-Göran_Bergh wrote:

Thank you for reporting the issue in the nilfs2 boot loader of grub2.

Your analysis seems right to me.

The nilfs2 grub code looks to be lacking roll forwarding and crc
verification (the latter both for super blocks and log blocks).

It is incomplete, or rather I should say it took a good trade-off
between simplicity and reliability as an early practicable
implementation.

Actually it works without trouble in most cases since most checkpoints
coherently include files needed to boot up system even though that
omission may lead the boot loader to read not-updated files after
unclean shutdown.

In my opinion, nilfs2 grub code does not have to do recovery, but it
should scan the latest checkpoint in order to minimize troubles.
However, I don't know whether it's possible or not in the boot loader.

Of course, there is a possibility that simply an unknown bug caused
your trouble.  In that case, inserting debug print functions in the
nilfs2 grub code and booting up with it, would be helpful to narrow
down the cause of the problem.


Thanks,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Ryusuke Konishi</dc:creator>
    <dc:date>2012-05-03T06:49:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2336">
    <title>Re: man nilfs-clean</title>
    <link>http://permalink.gmane.org/gmane.comp.file-systems.nilfs.user/2336</link>
    <description>&lt;pre&gt;
Thanks, I will apply it.


That's OK.

One thing I will ask you to do, is to include a "Singed-off-by" line
(sob line for short) in your patch, which certifies that you wrote it
or otherwise have the right to pass it on as an open-source patch.
even if it's a typo fix ;)

The sob line is inserted before the source code diff in the following
form:

Signed-off-by: Tiago Caxias &amp;lt;your e-mail address&amp;gt;

This is automatically done if you used "git commit" command with an -s
option; usually you can make a patch from the local change by "git
commit -a -s".

Then you can confirm or output the patch by "git show" or "git
format-patch HEAD^.."

I think that it is good to learn the function of git little by little
starting from hand working since git has various functions.


Thanks,
Ryusuke Konishi

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA&amp;lt; at &amp;gt;public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Ryusuke Konishi</dc:creator>
    <dc:date>2012-05-03T04:13:29</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.file-systems.nilfs.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.file-systems.nilfs.user</link>
  </textinput>
</rdf:RDF>

