avati, 257 has the problem I described. The strace is very log so here is an except which shows where it goes bad: unlink("Sf8G9jCK,ncRRl0EEfJvY2Np9M0=40999-35369.msg1") = 0 unlink("W5UIMWr8q7leAkEYP8wTiUVm8TU=40996-35367.msg1") = 0 unlink("QhYZ9AXzFVjIN3NAPnWxXN6IYf0=40993-35365.msg1") = 0 unlink("VNHTTOE7Qbpzv6uLbMVGbgBmrUI=40991-35363.msg1") = 0 unlink("VMRJvaCcwNAX+dZBnNm7kJS1GWM=40989-35361.msg1") = 0 unlink("9eNU6YWFYBZ5fsntwA2S8QBHR0Q=40986-35359.msg1") = 0 getdents64(4, /* 13 entries */, 4096) = 752 unlink("fiWL1iQACZvP6Z7jYMuU,evlHR8=40983-35357.msg1") = 0 unlink("RRayqDwxPxAXy1pr,k8PQtE0Gxk=40981-35355.msg1") = 0 unlink("muieo4flGPo7rc69szjyZF8u6Hc=40979-35353.msg1") = 0 unlink("he8yLJRz4YAH0Ft,ZZHtoc0a+oU=40976-35351.msg1") = 0 unlink("XaAjHx,D6285XpcfkDm+yUojCT4=40974-35349.msg1") = 0 unlink("ZNmOQWD3Mm4fKXqaxlvSQQt7y8A=40971-35347.msg1") = 0 unlink("XginkHKsIUwBbw,AKZgbaJLuKkk=40966-35343.msg1") = 0 unlink("+WSw63o6cjM1b6gQsORZFyL5kP4=40964-35341.msg1") = 0 unlink("xFYLCqHf9FdPKspC0KF3diy75Kk=40962-35339.msg1") = 0 unlink("3EjLS9VuubMaUisD0RCngaoory8=40969-35345.msg1") = 0 unlink("L9y7aTBiKMKEjqFg1i+L88VgRrM=40960-35337.msg1") = 0 getdents64(4, /* 0 entries */, 4096) = 0 lseek(4, 0, SEEK_SET) = 0 getdents64(4, /* 56 entries */, 4096) = 3584 unlink("mftRiVMsc6NY2BBJHJCd9zDZciM=43932-37894.msg1") = -1 ENOENT (No such file or directory) unlink("sOPe6yHyYH31MFHQ2HAxv2L8zgw=43930-37892.msg1") = -1 ENOENT (No such file or directory) unlink("DABWmbX8hsMhnZxqHdZ34tEwut8=43928-37890.msg1") = -1 ENOENT (No such file or directory) unlink("5w,dxebRIYBeWjBcNhBygu02W1U=43926-37888.msg1") = -1 ENOENT (No such file or directory) unlink("0aXojfZHaoVfz,HMgfhsnhDdurM=43924-37886.msg1") = -1 ENOENT (No such file or directory) unlink("L4jq6xxgPTT3tVxxZ,tDrkmFHPg=43922-37884.msg1") = -1 ENOENT (No such file or directory) unlink("wWCva4RZuJikXT4ZnXaS75P8KTo=43919-37882.msg1") = -1 ENOENT (No such file or directory) unlink("+OV9Q7I0SBk4xqgLobcKDRd67B0=43917-37880.msg1") = -1 ENOENT (No such file or directory) unlink(",lDsn1WyAsg3dPJDG18AsajkzBI=43914-37878.msg1") = -1 ENOENT (No such file or directory) unlink("Ea8odpUmKsp,SwDmAtKxjzBFwFY=43911-37876.msg1") = -1 ENOENT (No such file or directory) unlink("ouqOHIgmOp1mUFEIdcLy07lTLjA=43909-37874.msg1") = -1 ENOENT (No such file or directory) unlink("M+CVV8YzzMGzKkEa8uI2n7UalRY=43906-37872.msg1") = -1 ENOENT (No such file or directory) unlink("5llQniYdl3B9QIqhpuexrkY0hGI=43904-37870.msg1") = -1 ENOENT (No such file or directory) unlink("v8,0xTYX7LAJl6y6FrXkAoB,CGA=43902-37868.msg1") = -1 ENOENT (No such file or directory) unlink("qEMEe8Ec2Bw2q5r7k5ii2tXn4W4=43900-37866.msg1") = -1 ENOENT (No such file or directory) unlink("TA7YHBJvF,AmPq,sCr,uYNZpeA4=43898-37864.msg1") = -1 ENOENT (No such file or directory) .. goes on until I abort Harris ----- Original Message ----- From: "Daniel van Ham Colchete" <daniel.colchete@xxxxxxxxx> To: "gluster-devel" <gluster-devel@xxxxxxxxxx> Sent: Monday, July 2, 2007 9:23:11 AM (GMT-0500) America/New_York Subject: Re: Problem with rm -rf Cool Anand! I'm very happy I could help! I'll test it tonight! Best regards, Daniel Colchete On 7/2/07, Anand Avati <avati@xxxxxxxxxxxxx> wrote: > > Daniel, > Awesome! the bug was in readdir which was not flushing cache on seek > (rewinddir), hence used to return stale (deleted) entries which used to put > it in a loop. So rm -rf should work smooth now.. > > good catch! and thanks :) > > avati > _______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxx http://lists.nongnu.org/mailman/listinfo/gluster-devel