Skip to contentSkip to conversation

beginners project: RENAME_EXCHANGE

DISCUSSION Christoph Hellwig 2 participants 4 messages Sep 22, 2014 – Sep 25, 2014

lore
Share & tools
lore
#0 lore raw

As people are looking for beginners projects one in a while there's an easy one at the moment: implement support for the RENAME_EXCHANGE flag to the renameat2 system call, which swaps the names for two existing files. Documentation here:

http://man7.org/linux/man-pages/man2/rename.2.html

This should mostly be doable by refactoring (or more likely copy & pasting) the existing rename implementation. xfstests already has test case for it, although making sure they covering everything would be a nice extrea.

(if no one replies to the list I will add it to the wiki after a while)

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

#1 lore raw

Hi, for some time I don't work on anything upstream due being very busy with another stuff, I'm interested in take this project if nobody has objections

Quoted 18 lines · Christoph Hellwig

As people are looking for beginners projects one in a while there's an easy one at the moment: implement support for the RENAME_EXCHANGE flag to the renameat2 system call, which swaps the names for two existing files. Documentation here:

http://man7.org/linux/man-pages/man2/rename.2.html

This should mostly be doable by refactoring (or more likely copy & pasting) the existing rename implementation. xfstests already has test case for it, although making sure they covering everything would be a nice extrea.

(if no one replies to the list I will add it to the wiki after a while)

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

Signature · 6 lines
Carlos

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw
Quoted 2 lines · Carlos Maiolino

Hi, for some time I don't work on anything upstream due being very busy with another stuff, I'm interested in take this project if nobody has objections

I don't think you still qualify as beginner :) Joking aside: I'd love you take on this one!

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

#3 lore raw
Quoted 7 lines · Christoph Hellwig
Quoted 2 lines · Carlos Maiolino

Hi, for some time I don't work on anything upstream due being very busy with another stuff, I'm interested in take this project if nobody has objections

I don't think you still qualify as beginner :) Joking aside: I'd love you take on this one!

:) I'm a bit rusty with upstream stuff, so, good way to get myself involved
again.
Will work on that soon.

Cheers

Quoted 4 lines

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

Signature · 6 lines
Carlos

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