problem of operation "rm -rf "

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi, developers
we use ceph v0.30, kernel client 2.6.37
mount ceph on /mnt
$ mkdir /mnt/a
$ cd a
$ seq 10 | xargs -i  mkdir {}
$ cd ..
$ rm -rf a
from the debug log of mds.we find
if we want remove one subdirectory in "a", we must execute readdir " a
" operation each time
so we need read dir "a" 10 times.
but in normal way, it should readdir "a" once, and remove all the
subdirectories if we use "rm -rf a".

we'd like to know how did  ceph parse command "rm -rf " ?
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux