Skip to contentSkip to conversation

xfs: fix comment typo of struct xfs_da_blkinfo.

PATCH In review Chen Baozi 6 participants 9 messages Jul 14, 2012 – Jul 20, 2012 XFS filesystem

lore
Share & tools
lore

Chen Baozi

author
#0 lore raw

PATCH 1/1 xfs: fix comment typo of struct xfs_da_blkinfo.

Fix trivial typo error that has written "It" to "Is".

---
 fs/xfs/xfs_da_btree.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/xfs/xfs_da_btree.h +1 -1
index dbf7c07..be30bd4 100644
@@ -32,7 +32,7 @@ struct zone;
 /*
  * This structure is common to both leaf nodes and non-leaf nodes in the Btree.
  *
- * Is is used to manage a doubly linked list of all blocks at the same
+ * It is used to manage a doubly linked list of all blocks at the same
  * level in the Btree, and to identify which type of block this is.
  */
 #define XFS_DA_NODE_MAGIC	0xfebe	/* magic number: non-leaf blocks */
Signature · 6 lines
1.7.1

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Reviewed-by on v1 1/1
#1 lore raw

Hey Chen,

Quoted 3 lines · Chen Baozi

Fix trivial typo error that has written "It" to "Is".

Thanks for the patch! I'm happy you're working on XFS. Do you have any time/interest in taking on a work item or two? I have a few would-be-nices which I've made notes of, and I'm sure that Dave or Christoph could also think of a few if you're interested.

Thanks again,
-Ben

Quoted 24 lines
---
 fs/xfs/xfs_da_btree.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/xfs/xfs_da_btree.h +1 -1
index dbf7c07..be30bd4 100644
@@ -32,7 +32,7 @@ struct zone;
 /*
  * This structure is common to both leaf nodes and non-leaf nodes in the Btree.
  *
- * Is is used to manage a doubly linked list of all blocks at the same
+ * It is used to manage a doubly linked list of all blocks at the same
  * level in the Btree, and to identify which type of block this is.
  */
 #define XFS_DA_NODE_MAGIC	0xfebe	/* magic number: non-leaf blocks */
Signature · 6 lines
1.7.1

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

author
#2 lore raw

Hi Ben,

Quoted 5 lines · Ben Myers

Hey Chen,

Quoted 2 lines · Chen Baozi

Fix trivial typo error that has written "It" to "Is".

Quoted 8 lines
Quoted 1 line

Thanks for the patch! I'm happy you're working on XFS. Do you have any time/interest in taking on a work item or two? I have a few would-be-nices which I've made notes of, and I'm sure that Dave or Christoph could also think of a few if you're interested.

I'd really love to. Right now, I am working on syslinux to support booting on xfs partition (under pcacjr's mentoring), which I thought would be a nice start to get familiar with xfs (and I did learn a lot from it). So I think there would be more time (and experience on xfs) after I finish the xfs support on syslinux. And I'm really looking forward to your ideas. So do please tell me what I can help, I'll try my best to do it.

Thanks a lot.

Baozi

Quoted 24 lines

Thanks again,
-Ben

Quoted 20 lines

---
fs/xfs/xfs_da_btree.h | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
fs/xfs/xfs_da_btree.h +1 -1
index dbf7c07..be30bd4 100644
@@ -32,7 +32,7 @@ struct zone;
 /*
 * This structure is common to both leaf nodes and non-leaf nodes in the Btree.
 *
- * Is is used to manage a doubly linked list of all blocks at the same
+ * It is used to manage a doubly linked list of all blocks at the same
 * level in the Btree, and to identify which type of block this is.
 */
 #define XFS_DA_NODE_MAGIC	0xfebe	/* magic number: non-leaf blocks */
Signature · 1 line
1.7.1
Quoted 4 lines
Quoted 4 lines

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw
Quoted 1 line · Chen Baozi

I'd really love to. Right now, I am working on syslinux to support booting on xfs partition (under pcacjr's mentoring)??? which I thought would be a nice start to get familiar with xfs (and I did learn a lot from it). So I think there would be more time (and experience on xfs) after I finish the xfs support on syslinux. And I'm really looking forward to your ideas. So do please tell me what I can help, I'll try my best to do it.

Btw, if you need more reviers for the syslinus support feel free to pass it by me (or the list).

Thanks for working on this!

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

author
#4 lore raw
Quoted 5 lines · Christoph Hellwig
Quoted 1 line · Chen Baozi

I'd really love to. Right now, I am working on syslinux to support booting on xfs partition (under pcacjr's mentoring)??? which I thought would be a nice start to get familiar with xfs (and I did learn a lot from it). So I think there would be more time (and experience on xfs) after I finish the xfs support on syslinux. And I'm really looking forward to your ideas. So do please tell me what I can help, I'll try my best to do it.

Btw, if you need more reviers for the syslinus support feel free to pass it by me (or the list).

Sure, thanks.

Quoted 3 lines

Thanks for working on this!

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#5 lore raw
Quoted 9 lines · Chen Baozi
Quoted 5 lines · Christoph Hellwig
Quoted 1 line · Chen Baozi

I'd really love to. Right now, I am working on syslinux to support booting on xfs partition (under pcacjr's mentoring)??? which I thought would be a nice start to get familiar with xfs (and I did learn a lot from it). So I think there would be more time (and experience on xfs) after I finish the xfs support on syslinux. And I'm really looking forward to your ideas. So do please tell me what I can help, I'll try my best to do it.

Btw, if you need more reviers for the syslinus support feel free to pass it by me (or the list).

Sure, thanks.

Glad to see a new developer from china, Wanlong from Fujitsu has also started working on XFS recently, we can learn together. :) Btw, are you living in Beijing Baozi?

Thanks,
-Jeff

Quoted 8 lines
Quoted 3 lines

Thanks for working on this!

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

author
#6 lore raw
Quoted 8 lines · Jeff Liu
Quoted 6 lines · Chen Baozi
Quoted 3 lines · Christoph Hellwig
Quoted 1 line · Chen Baozi

I'd really love to. Right now, I am working on syslinux to support booting on xfs partition (under pcacjr's mentoring)??? which I thought would be a nice start to get familiar with xfs (and I did learn a lot from it). So I think there would be more time (and experience on xfs) after I finish the xfs support on syslinux. And I'm really looking forward to your ideas. So do please tell me what I can help, I'll try my best to do it.

Quoted 7 lines
Quoted 3 lines
Quoted 2 lines

Btw, if you need more reviers for the syslinus support feel free to pass it by me (or the list).

Sure, thanks.

Glad to see a new developer from china, Wanlong from Fujitsu has also started working on XFS recently, we can learn together. :) Btw, are you living in Beijing Baozi?

Oh, no. I'm still a master student in Changsha, :-)

Quoted 14 lines

Thanks,
-Jeff

Quoted 8 lines
Quoted 3 lines

Thanks for working on this!

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#7 lore raw
In reply to Christoph Hellwig

From: Christoph Hellwig <[email protected]>
Date: Tue, 17 Jul 2012 03:06:43 -0400

Quoted 2 lines

Btw, if you need more reviers for the syslinus support feel free to pass it by me (or the list).

This is the branch I'm maintaing for the XFS readonly driver:

git://zytor.com/users/pcacjr/syslinux.git (branch: xfs)

The current status is:

- We are able to find the root inode by reading rootino field from superblock (xfs_iget_root() function).
- We are able to find inodes that have core's format set to "local" only at the moment, which is by reading leaf entries from inode btrees. The function that looks up for an inode is the xfs_iget() one. We're looking forward to implement the handling of keys in inode btrees (extents) also.

Baoszi is currently working on the inode btree's key part (extents), and I'm working on the data part of the file inode, which is the xfs_next_extent() function.

The xfs_next_extent() function must be able to read the inode (cast to the data fork) and populate a structure that stores physical starting number sector and number of consecutive sectors that contain the inode's data so that Syslinux will know where to read from.

Thanks for the interest in helping us!

Paulo

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#8 lore raw
Quoted 19 lines · Paulo Alcantara

From: Christoph Hellwig <[email protected]>
Date: Tue, 17 Jul 2012 03:06:43 -0400

Quoted 2 lines

Btw, if you need more reviers for the syslinus support feel free to pass it by me (or the list).

This is the branch I'm maintaing for the XFS readonly driver:

git://zytor.com/users/pcacjr/syslinux.git (branch: xfs)

The current status is:

- We are able to find the root inode by reading rootino field from superblock (xfs_iget_root() function).
- We are able to find inodes that have core's format set to "local" only at the moment, which is by reading leaf entries from inode btrees. The function that looks up for an inode is the xfs_iget() one. We're looking forward to implement the handling of keys in inode btrees (extents) also.

Quoted 8 lines

Baoszi is currently working on the inode btree's key part (extents), and I'm working on the data part of the file inode, which is the xfs_next_extent() function.

The xfs_next_extent() function must be able to read the inode (cast to the data fork) and populate a structure that stores physical starting number sector and number of consecutive sectors that contain the inode's data so that Syslinux will know where to read from.

As we discussed on #xfs, I'm still not convinced that parsing the filesystem metadata in the bootloader is the way to go. Far better, IMO, is simply to supply the bootloader with a list of extents for the blocks it needs to read to get the files it needs. You can get them via fiemap(), and it'll work for XFS, btrfs, ext3, ext4, etc without needing to write code to parse the on-disk format of every filesystem.

Especially as we are in the process of making major changes to the XFS on-disk format, which means you'll have to make significant changes to support a second XFS disk format in the not-to-distant future...

Quoted 1 line

Thanks for the interest in helping us!

We want it to work! ;)

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs