Re: [RESEND PATCH 4/5] kernfs: Replace per-fs rwsem with hashed rwsems.

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

 



Hello,

I'm bandwidth constrained right now and can't really shepherd this patchset,
so I'm not gonna ack or nack the series. That said, here are my thoughts
after glancing through it:

* I find the returning-with-rwsem-held interface and usage odd. We return
  with locks held all the time, so that part in itself is fine but how it's
  used in the proposed patch is pretty alien.

* I don't understand why the topo_mutex is needed. What is its relationship
  with rename_lock?

* Can't the double/triple lock helpers loop over the sorted list instead of
  if'ing each case?

Thanks.

-- 
tejun



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux