summaryrefslogtreecommitdiff
path: root/sys/src/cmd/hjfs
AgeCommit message (Collapse)Author
2015-01-01hjfs: fix missing superblock dirty mark when reamingcinap_lenrek
2014-12-31hjfs: make -m default 4 MB instead of 40 KBaiju
2014-02-04hjfs: fix wrong channel size for syncb (fixes amd64 crash)cinap_lenrek
2013-10-02lib9p/hjfs: use x != ~0 instead (type)~x conditionals to work arround arm ↵cinap_lenrek
compiler issue
2013-07-05hjfs: add users command, fix newuser ? documentationcinap_lenrek
2013-06-01hjfs: ignore atime on wstatppatience0
2013-05-30hjfs: deal with ORCLOSE in chancreat()cinap_lenrek
ORCLOSE was effectively ignored for Tcreate. just setting CHRCLOSE flag on chan should fix it.
2013-03-14hjfs: fix the megashitcinap_lenrek
aiju → what is this huge if(d != nil) {} megashit if getdent() fails in newentry() then return immidiately and dont override the error string.
2013-01-30hjfs: fix bogus nodata getbuf() of superblock in createroot() (failed ream ↵cinap_lenrek
race bug) we used to do getbuf() with nodata flag so it only worked when we where lucky and got the same in memory block back. this is uncritical once you have reamed the filesystem, its just that sometimes ream would fail with "ream successfull, then hjfs: fsinit: file ./hjfs not found".
2013-01-13hjfs: dont mask permission bits for "create" console commandcinap_lenrek
2013-01-07hjfs: disable shutdown when listening on network connectionscinap_lenrek
2013-01-07hjfs: network announce/listen supportcinap_lenrek
2012-11-18hjfs: eleminate seek syscallscinap_lenrek
reduce syscalls by using pread/pwrite instead of seek/read/write.
2012-11-18hjfs: ORCLOSE parent check, estrdup / erealloc, CHFNOPERM consistencycinap_lenrek
check for write premission in the parent directory for open with ORCLOSE. honor CHFNOPERM not just in chancreat(), pikeshedd the error handling. added estrdup()/erealloc() that call sysfatal instead of returning nil.
2012-11-18hjfs: fix dump / createcinap_lenrek
getdent() introduced a bug as the qid check fails in the case when we walk to DUMPROOTQID, but get ROOTQID in the directory instead. newentry() getblk(..., GBCREATE) caused the whole directory to get dumped until it hit a free slot. we cannot do this because this changes the addresses of Dentries of files but doesnt update the loctree. this caused the bogus walks when we hit a different directory than we expected. what we do now is the following: newentry() was changed to never dump anything. it will just read the directory and return a the address of a free slot or create a new block having space for one. chancreat() then makes a loc in the loctree for the free slot, drops the dirent buffer and calls willmodify() on the new slot. this will dump the block containing the slot (and possible other slots) and updates the loctree to the new version. after that, chancreate() modifies the slot filling the Dentry. there should be no race, as newentry() skips slots that have a loc in the loctree. theres one case where newentry() can dump the block immidiately when it is called from dump. added new parameter for that and documented in the comment. createuserdir() was simplified by just calling chancreat(). to get arround the permission check, a new per channel flag CHFNOPERM was added.
2012-11-16hjfs: fix getfree() races, fix very rare buf leak in deltraverse()cinap_lenrek
2012-11-16hjfs: fix potential deadlock in putloc()cinap_lenrek
2012-11-16hjfs: dentry qid checking, prevent newentry() from allocating already in use ↵cinap_lenrek
slot always check if the directory entry qid from the loc still matches the one on disk before doing anything. helps catching bugs and is basically equivalent to what cwfs does with its checktag. make a haveloc() check in newentry() to make sure we dont allocate a file slot thats still in use, but deleted. this seems to fix the NPROC>1 build problems.
2012-11-15hjfs: fix more missing dirty marks, error handling, cleanupcinap_lenrek
2012-11-15hjfs: fix missing BDELWRI mark in newentry()cinap_lenrek
2012-11-01hjfs: fix group permissions for /adm and /adm/users for initcinap_lenrek
2012-10-03fixed ream code; added megabyte output to dfaiju
2012-10-03hjfs: debug-chdeind and sync commands addedaiju
2012-10-03fixed debug-getblkaiju
2012-10-03hjfs debug commandsaiju
2012-10-03fixed potential bug in hjfsaiju
2012-09-27fixed hjfs dfaiju
2012-09-27really renamed statw to dfaiju
2012-09-27renamed statw to dfaiju
2012-09-27trivial mistakeaiju
2012-09-27hjfs: statw commandaiju
2012-08-11hjfs: fix tabs (damn google code editor)cinap_lenrek
2012-08-11disallow walk on open chansaiju
2012-08-11hjfs: fix permcheck bugcinap_lenrek
2012-08-08hjfs: various fixesaiju
2012-08-08more hjfs fixesaiju
2012-08-08hjfs: various changesaiju
2012-08-07hjfs: default service name, fshaltaiju
2012-08-07added hjfsaiju