Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[DMAPI\]\s+code\s+error\s+in\s+dm_ip_to_handle\(\)\s*$/: 72 ]

Total 72 documents matching your query.

1. [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Wed, 11 May 2005 18:20:18 +0200
I'm still working on DMAPI code and I found a problem in dm_ip_to_handle() function. In fact, the problem is not specific to this function, I just found it here. To sum up, I found, in the XFS+DMAPI
/archives/xfs/2005-05/msg00057.html (10,891 bytes)

2. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Wed, 11 May 2005 15:45:38 -0500
Maybe we should throw out struct dm_fsfid and just use struct dm_fid? Then XFS, for example, would have to translate its fid_t into a struct dm_fid on its own and DMAPI shouldn't have to guess about
/archives/xfs/2005-05/msg00060.html (11,620 bytes)

3. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Thu, 12 May 2005 15:15:47 +0200
Dean Roehrich a écrit: Maybe we should throw out struct dm_fsfid and just use struct dm_fid? Then XFS, for example, would have to translate its fid_t into a struct dm_fid on its own and DMAPI shoul
/archives/xfs/2005-05/msg00068.html (11,417 bytes)

4. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Thu, 12 May 2005 11:12:12 -0500
The dm_fid_len field is used to distinguish between filesystem handles and file handles. That has to stay in place. I could agree to that, but what do we give to the hash function? It is the FS whic
/archives/xfs/2005-05/msg00071.html (11,435 bytes)

5. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Fri, 13 May 2005 15:00:00 +0200
The dm_fid_len field is used to distinguish between filesystem handles and file handles. That has to stay in place. Ok. I miss this. About it, I don't understand how the dm_fid_len is filled. I don't
/archives/xfs/2005-05/msg00076.html (11,547 bytes)

6. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Fri, 13 May 2005 10:29:47 -0500
Certainly, dm_handle_to_ip() is intended to return any type of handle, including filesystem handles. In the case of XFS, when a filesystem handle is requested we contruct it from the filesystem's ro
/archives/xfs/2005-05/msg00077.html (11,600 bytes)

7. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Fri, 13 May 2005 18:03:49 +0200
Dean Roehrich a écrit: Certainly, dm_handle_to_ip() is intended to return any type of handle, including filesystem handles. In the case of XFS, when a filesystem handle is requested we contruct it
/archives/xfs/2005-05/msg00081.html (10,606 bytes)

8. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Fri, 13 May 2005 11:31:58 -0500
hlen = DM_FSHSIZE hlen = DM_HSIZE(handle) Both use dm_ip_to_handle(), and get a full filehandle. Dean
/archives/xfs/2005-05/msg00082.html (9,418 bytes)

9. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Mon, 16 May 2005 09:33:45 +0200
Dean Roehrich a écrit: What's the difference between dm_path_to_fshandle("/") hlen = DM_FSHSIZE dm_path_to_handle("/") ? hlen = DM_HSIZE(handle) Both use dm_ip_to_handle(), and get a full filehandl
/archives/xfs/2005-05/msg00087.html (11,102 bytes)

10. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Mon, 16 May 2005 15:24:33 +0200
Dean Roehrich a écrit: Ok. So, do we remove the dm_fsfid_t ? Replace it by a dm_fid as you proposed ? I think it's a good idea. I would like to see how it works out, if you're willing to do the cod
/archives/xfs/2005-05/msg00091.html (15,363 bytes)

11. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Mon, 16 May 2005 08:38:04 -0500
dm_ip_to_handle() and ->inode_to_fh() always return a filehandle. It looks like this no longer behaves the same as the original Irix code. On Irix, if dm_handle_to_ip() is going to call VFS_ROOT the
/archives/xfs/2005-05/msg00092.html (11,225 bytes)

12. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Mon, 16 May 2005 16:00:55 +0200
To sum up : - inode_to_fh() only need to fill a dmfsfid (currently :)) with something like that : fid.dm_fid_len = sizeof(dm_fid_t) - sizeof(fid.dm_fid_len); fid.dm_fid_pad = 0; fid.dm_fid_gen = ip->
/archives/xfs/2005-05/msg00093.html (11,083 bytes)

13. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Mon, 16 May 2005 09:49:14 -0500
Okay. No. fh_to_inode() doesn't have to modify the dm_fsfid at all. It just needs to check that it refers to a valid inode, and then it needs to return that inode. Dean
/archives/xfs/2005-05/msg00094.html (10,395 bytes)

14. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Mon, 16 May 2005 17:04:48 +0200
Dean Roehrich a écrit: - fh_to_inode() must test the fid_len field and return the root inode number if its value is zero. No. fh_to_inode() doesn't have to modify the dm_fsfid at all. It just need
/archives/xfs/2005-05/msg00095.html (12,067 bytes)

15. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Mon, 16 May 2005 10:18:15 -0500
Yes, that sounds right. For the filehandle case, you need to verify that dm_fid_gen matches i_generation. Dean
/archives/xfs/2005-05/msg00096.html (10,721 bytes)

16. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Mon, 16 May 2005 14:52:40 -0500
I've been using your patch today. So far it's good. Here's the rest of it, to completely remove dm_fsfid. Do these dm_copyin_handle() changes look right to you? Dean Index: lbs-a/linux/linux/fs/dmap
/archives/xfs/2005-05/msg00098.html (11,931 bytes)

17. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Tue, 17 May 2005 09:04:21 +0200
Dean Roehrich a écrit: From: Aurelien Degremont - Stagiaire <degremont@xxxxxxxxxxx> Here is a very small patch that change the parameter of fh_to_inode() and inode_to_fh(). I just replace the dm_fs
/archives/xfs/2005-05/msg00100.html (10,741 bytes)

18. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Tue, 17 May 2005 10:52:02 +0200
Dean Roehrich a écrit: From: Aurelien Degremont - Stagiaire <degremont@xxxxxxxxxxx> Here is a very small patch that change the parameter of fh_to_inode() and inode_to_fh(). I just replace the dm_fs
/archives/xfs/2005-05/msg00102.html (11,140 bytes)

19. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxxx
Date: Tue, 17 May 2005 20:47:42 -0500
Can you give me a patch for the library to convert it from xfs_fid2_t to dm_fid_t? Let XFS continue to use xfs_fid2_t. Dean
/archives/xfs/2005-05/msg00104.html (9,311 bytes)

20. Re: [DMAPI] code error in dm_ip_to_handle() (score: 1)
Author: xxxx>
Date: Tue, 17 May 2005 20:45:08 -0500
Thanks, I'll get this in today. I have to jump ahead. I need to have one struct filesystem_dmapi_operations per mounted filesystem to solve a problem I'm dealing with now, and I have to do it withou
/archives/xfs/2005-05/msg00105.html (10,027 bytes)


This search system is powered by Namazu